Class: Factbase::Rules::Check
- Inherits:
-
Object
- Object
- Factbase::Rules::Check
- Defined in:
- lib/factbase/rules.rb
Overview
Check one fact.
This is an internal class, it is not supposed to be instantiated directly.
Instance Method Summary collapse
-
#initialize(expr) ⇒ Check
constructor
A new instance of Check.
- #it(fact) ⇒ Object
Constructor Details
#initialize(expr) ⇒ Check
Returns a new instance of Check.
132 133 134 |
# File 'lib/factbase/rules.rb', line 132 def initialize(expr) @expr = expr end |