Class: Factbase::Lt
Overview
Represents a less-than term in the Factbase system. This class is used to evaluate whether a given fact satisfies a less-than comparison with the specified operands.
Instance Method Summary collapse
-
#evaluate(fact, maps, fb) ⇒ Boolean
Evaluate term on a fact.
-
#initialize(operands) ⇒ Lt
constructor
Constructor.
Methods inherited from TermBase
Constructor Details
Instance Method Details
#evaluate(fact, maps, fb) ⇒ Boolean
Evaluate term on a fact.
25 26 27 |
# File 'lib/factbase/terms/lt.rb', line 25 def evaluate(fact, maps, fb) @op.evaluate(fact, maps, fb) end |