Class: Lucene::Group

Inherits:
Treetop::Runtime::SyntaxNode
  • Object
show all
Defined in:
lib/chef/solr_query/lucene_nodes.rb

Instance Method Summary collapse

Instance Method Details

#to_arrayObject



132
133
134
# File 'lib/chef/solr_query/lucene_nodes.rb', line 132

def to_array
  "(" + self.elements[0].to_array + ")"
end

#transformObject



136
137
138
# File 'lib/chef/solr_query/lucene_nodes.rb', line 136

def transform
  "(" + self.elements[0].transform + ")"
end