Module: SearchGrammar::Body

Defined in:
lib/buhos/search_parser.rb

Instance Method Summary collapse

Instance Method Details

#to_arrayObject



80
81
82
# File 'lib/buhos/search_parser.rb', line 80

def to_array
  self.elements.map {|x| (x.respond_to?(:to_array)) ? x.to_array : x.text_value}
end