Class: Factbase::Rules::Query
- Inherits:
-
Object
- Object
- Factbase::Rules::Query
- Defined in:
- lib/factbase/rules.rb
Overview
Query decorator.
This is an internal class, it is not supposed to be instantiated directly.
Instance Method Summary collapse
- #each(params = {}) ⇒ Object
-
#initialize(query, check) ⇒ Query
constructor
A new instance of Query.
Constructor Details
#initialize(query, check) ⇒ Query
Returns a new instance of Query.
115 116 117 118 |
# File 'lib/factbase/rules.rb', line 115 def initialize(query, check) @query = query @check = check end |