class Axiom::Function::Predicate::GreaterThan

A predicate representing a greater than test between operands

Public Class Methods

inverse() click to toggle source

Return the inverse predicate class

@example

GreaterThan.inverse  # => LessThanOrEqualTo

@return [Class<LessThanOrEqualTo>]

@api public

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

Return the GreaterThan operation

@example

GreaterThan.operation  # => :>

@return [Symbol]

@api public

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

Return the reverse predicate class

@example

GreaterThan.reverse  # => LessThan

@return [Class<LessThan>]

@api public

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