Exception: ArelRest::Parser::OperatorNotFound
- Inherits:
-
StandardError
- Object
- StandardError
- ArelRest::Parser::OperatorNotFound
- Defined in:
- lib/parser.rb
Overview
Recevi object query and return array with string query and value. Ex: query object: “a”, operator:“=”, values: [1] >> [“a = ?”, [1]]
Instance Attribute Summary collapse
-
#column ⇒ Object
Returns the value of attribute column.
Instance Method Summary collapse
-
#initialize(column) ⇒ OperatorNotFound
constructor
A new instance of OperatorNotFound.
- #message ⇒ Object
Constructor Details
#initialize(column) ⇒ OperatorNotFound
Returns a new instance of OperatorNotFound.
38 39 40 41 |
# File 'lib/parser.rb', line 38 def initialize(column) @column = column super end |
Instance Attribute Details
#column ⇒ Object
Returns the value of attribute column.
36 37 38 |
# File 'lib/parser.rb', line 36 def column @column end |
Instance Method Details
#message ⇒ Object
43 44 45 |
# File 'lib/parser.rb', line 43 def "Operator #{@column} not found" end |