Method: Operator.operator

Defined in:
lib/lamep/Expressions/operator.rb

.operator(operator_symbol) ⇒ Object



13
14
15
16
# File 'lib/lamep/Expressions/operator.rb', line 13

def self.operator(operator_symbol)
  fail "Unregistered operator: #{operator_symbol}" unless exists?(operator_symbol)
  OPERATORS[operator_symbol]
end