Class: CssColorContrast::CommandInterpreter::Function::Ratio

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



60
61
62
# File 'lib/css_color_contrast/command_interpreter.rb', line 60

def evaluate
  ColorContrastCalc.contrast_ratio(*param_values)
end