Class: StructuredSearch::Tree::Statement
- Inherits:
-
Array
- Object
- Array
- StructuredSearch::Tree::Statement
- Defined in:
- lib/structured_search/tree/statement.rb
Overview
A statement is a collection of nodes that make up a single query, such as “SELECT * FROM ‘Here’, ‘There’;”
Instance Method Summary collapse
-
#initialize(nodes) ⇒ Statement
constructor
:nodoc:.
Constructor Details
#initialize(nodes) ⇒ Statement
:nodoc:
8 9 10 |
# File 'lib/structured_search/tree/statement.rb', line 8 def initialize(nodes) self.concat(nodes) end |