Sass::Environment
An environment that can write to in-scope global variables, but doesn’t create new variables in the global scope. Useful for top-level control directives.
# File lib/sass/environment.rb, line 196 def try_set_var(name, value) @vars ||= {} if @vars.include?(name) @vars[name] = value true elsif @parent @parent.try_set_var(name, value) else false end end
[Validate]
Generated with the Darkfish Rdoc Generator 2.