Method: Factbase::Syntax#initialize
- Defined in:
- lib/factbase/syntax.rb
#initialize(query) ⇒ Syntax
Ctor.
The class provided as the term argument must have a constructor that accepts an operator, operands array, and a keyword argument fb. Also, it must be a child of Factbase::Term.
30 31 32 |
# File 'lib/factbase/syntax.rb', line 30 def initialize(query) @query = query end |