Sha256: 7704f6dc3d09c2b1e2bc924ae8ca8a8648ec9e6eb831dbbf5ea7f45d6c1bd05d
Contents?: true
Size: 1.57 KB
Versions: 3
Compression:
Stored size: 1.57 KB
Contents
# encoding: utf-8 module Axiom class Function class Predicate # A predicate representing a greater than or equal to test between operands class GreaterThanOrEqualTo < Predicate include Comparable # Return the GreaterThanOrEqualTo operation # # @example # GreaterThanOrEqualTo.operation # => :>= # # @return [Symbol] # # @api public def self.operation :>= end # Return the inverse predicate class # # @example # GreaterThanOrEqualTo.inverse # => LessThan # # @return [Class<LessThan>] # # @api public def self.inverse LessThan end # Return the reverse predicate class # # @example # GreaterThanOrEqualTo.reverse # => LessThanOrEqualTo # # @return [Class<LessThanOrEqualTo>] # # @api public def self.reverse LessThanOrEqualTo end module Methods # Compare the left to see if it is greater than or equal to the right # # @example # greater_than_or_equal_to = expression.gte(other) # # @param [Function] other # # @return [GreaterThanOrEqualTo] # # @api public def gte(other) GreaterThanOrEqualTo.new(self, other) end end # module Methods end # class GreaterThanOrEqualTo end # class Predicate end # class Function end # module Axiom
Version data entries
3 entries across 3 versions & 1 rubygems