Module: SearchGrammar::Filter
- Defined in:
- lib/buhos/search_parser.rb
Instance Method Summary collapse
Instance Method Details
#to_array ⇒ Object
50 51 52 53 54 55 56 |
# File 'lib/buhos/search_parser.rb', line 50 def to_array el=self.elements field=el.shift [:filter, field.text_value.to_sym, el.map {|x| x.to_array }] #self.elements.map {|x| x.to_array} end |