lib/sass/tree/visitors/perform.rb
def visit_root(node)
    @environment.options = node.options if @environment.options.nil? || @environment.options.empty?
    yield
  rescue Sass::SyntaxError => e
    e.sass_template ||= node.template
    raise e
  end
# Sets the options on the environment if this is the top-level root.
Sets the options on the environment if this is the top-level root.
Sets the options on the environment if this is the top - level root .
def visit_root(node)
    @environment.options = node.options if @environment.options.nil? || @environment.options.empty?
    yield
  rescue Sass::SyntaxError => e
    e.sass_template ||= node.template
    raise e
  end
def visit_root ( node ) @environment . options = node . options if @environment . options . nil? || @environment . options . empty? yield rescue Sass :: SyntaxError => e e . sass_template ||= node . template raise e end
Sets the options on the environment if this is the top-level root.
Sets the options on the environment if this is the top - level root .
node