class Axiom::Function::Predicate::LessThan

A predicate representing a less than test between operands

Public Class Methods

inverse() click to toggle source

Return the inverse predicate class

@example

LessThan.inverse  # => GreaterThanOrEqualTo

@return [Class<GreaterThanOrEqualTo>]

@api public

# File lib/axiom/function/predicate/less_than.rb, line 31
def self.inverse
  GreaterThanOrEqualTo
end
operation() click to toggle source

Return the LessThan operation

@example

LessThan.operation  # => :<

@return [Symbol]

@api public

# File lib/axiom/function/predicate/less_than.rb, line 19
def self.operation
  :<
end
reverse() click to toggle source

Return the reverse predicate class

@example

LessThan.reverse  # => GreaterThan

@return [Class<GreaterThan>]

@api public

# File lib/axiom/function/predicate/less_than.rb, line 43
def self.reverse
  GreaterThan
end