class ActiveFacts::Metamodel::Bound

Public Instance Methods

<=(other) click to toggle source
# File lib/activefacts/metamodel/extensions.rb, line 1096
def <=(other)
  return true if other == Infinity
  is_inclusive ? value <= other : value < other
end
>=(other) click to toggle source
# File lib/activefacts/metamodel/extensions.rb, line 1101
def >=(other)
  return true if other == -Infinity
  is_inclusive ? value >= other : value > other
end