Method: Sass::Script::Variable#perform
- Defined in:
- lib/sass/script/variable.rb
#perform(environment) ⇒ Literal
Evaluates the variable.
25 26 27 28 |
# File 'lib/sass/script/variable.rb', line 25
def perform(environment)
(val = environment.var(name)) && (return val)
raise SyntaxError.new("Undefined variable: \"!#{name}\".")
end
|