Class: StructuredSearch::Tree::Statement

Inherits:
Array
  • Object
show all
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

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