Parent

Class/Module Index [+]

Quicksearch

Lucene::FuzzyOp

Public Instance Methods

to_array() click to toggle source
# File lib/chef/solr_query/lucene_nodes.rb, line 178
def to_array
  a = self.elements[0].to_array
  param = self.elements[1]
  if param
    "(OP:~ #{a} #{param.to_array})"
  else
    "(OP:~ #{a})"
  end
end
transform() click to toggle source
# File lib/chef/solr_query/lucene_nodes.rb, line 188
def transform
  a = self.elements[0].transform
  param = self.elements[1]
  if param
    "#{a}~#{param.transform}"
  else
    "#{a}~"
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.