module Axiom::Function::Comparable::ClassMethods

Public Instance Methods

call(left, right) click to toggle source

Evaluate the values using the ruby operation

@example

function.call(left, right)  # => true or false

@param [Object] left @param [Object] right

@return [Object]

@api public

# File lib/axiom/function/comparable.rb, line 37
def call(left, right)
  left.public_send(operation, right)
end