Class: Lucene::Body

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



122
123
124
# File 'lib/chef/solr_query/lucene_nodes.rb', line 122

def to_array
  self.elements.map { |x| x.to_array }.join(" ")
end

#transformObject



126
127
128
# File 'lib/chef/solr_query/lucene_nodes.rb', line 126

def transform
  self.elements.map { |x| x.transform }.join(" ")
end