Class: Sass::Tree::Visitors::SetOptions

Inherits:
Base
  • Object
show all
Defined in:
.ruby-sass/lib/sass/tree/visitors/set_options.rb

Overview

A visitor for setting options on the Sass tree

Class Method Summary (collapse)

Class Method Details

.visit(root, options) ⇒ Object

Parameters:

  • root (Tree::Node)

    The root node of the tree to visit.

  • options ({Symbol => Object})

    The options has to set.



5
# File '.ruby-sass/lib/sass/tree/visitors/set_options.rb', line 5

def self.visit(root, options); new(options).send(:visit, root); end