Parent

Class/Module Index [+]

Quicksearch

Lucene::BinaryOp

Public Instance Methods

to_array() click to toggle source
# File lib/chef/solr_query/lucene_nodes.rb, line 142
def to_array
  op = self.elements[1].to_array
  a = self.elements[0].to_array
  b = self.elements[2].to_array
  "(#{op} #{a} #{b})"
end
transform() click to toggle source
# File lib/chef/solr_query/lucene_nodes.rb, line 149
def transform
  op = self.elements[1].transform
  a = self.elements[0].transform
  b = self.elements[2].transform
  "#{a} #{op} #{b}"
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.