Class: Garage::NestedFieldQuery::Parser
- Inherits:
-
Object
- Object
- Garage::NestedFieldQuery::Parser
- Defined in:
- lib/garage/nested_field_query.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.parse(*args) ⇒ Object
7 8 9 |
# File 'lib/garage/nested_field_query.rb', line 7 def self.parse(*args) new.parse(*args) end |
Instance Method Details
#parse(given_query, indent = nil) ⇒ Object
11 12 13 |
# File 'lib/garage/nested_field_query.rb', line 11 def parse(given_query, indent = nil) parse_recurse(given_query.to_s.dup, indent) end |