Class: Sqlite::QueryParser
- Inherits:
-
BaseParser
- Object
- BaseParser
- Sqlite::QueryParser
- Defined in:
- lib/parsers/query_parser.rb
Constant Summary
Constants inherited from BaseParser
Instance Attribute Summary
Attributes inherited from BaseParser
Instance Method Summary collapse
-
#initialize ⇒ QueryParser
constructor
A new instance of QueryParser.
Methods inherited from BaseParser
#choose_solution, #get_final_query, #parse_test, #test_has_valid_fields?
Constructor Details
#initialize ⇒ QueryParser
Returns a new instance of QueryParser.
4 5 6 7 8 9 |
# File 'lib/parsers/query_parser.rb', line 4 def initialize @fields = { required: [:type, :expected], optional: [:seed] } end |