Module: Axiom::Function::Predicate::LessThanOrEqualTo::Methods

Included in:
Attribute::Comparable
Defined in:
lib/axiom/function/predicate/less_than_or_equal_to.rb

Instance Method Summary collapse

Instance Method Details

#lte(other) ⇒ LessThanOrEqualTo

Compare the left to see if it is less than or equal to the right

Examples:

less_than_or_equal_to = expression.lte(other)

Parameters:

Returns:



59
60
61
# File 'lib/axiom/function/predicate/less_than_or_equal_to.rb', line 59

def lte(other)
  LessThanOrEqualTo.new(self, other)
end