Module: Axiom::Function::Comparable::ClassMethods
- Defined in:
- lib/axiom/function/comparable.rb
Instance Method Summary collapse
-
#call(left, right) ⇒ Object
Evaluate the values using the ruby operation.
Instance Method Details
#call(left, right) ⇒ Object
Evaluate the values using the ruby operation
37 38 39 |
# File 'lib/axiom/function/comparable.rb', line 37 def call(left, right) left.public_send(operation, right) end |