Class: CssColorContrast::CommandInterpreter::Function::AssignVariable

Inherits:
CssColorContrast::CommandInterpreter::Function show all
Defined in:
lib/css_color_contrast/command_interpreter.rb

Instance Attribute Summary

Attributes inherited from CssColorContrast::CommandInterpreter::Function

#name, #params

Instance Method Summary collapse

Methods inherited from CssColorContrast::CommandInterpreter::Function

create, #initialize, #param_values, #push

Constructor Details

This class inherits a constructor from CssColorContrast::CommandInterpreter::Function

Instance Method Details

#evaluateObject



54
55
56
# File 'lib/css_color_contrast/command_interpreter.rb', line 54

def evaluate
  @env[@name] = param_values
end