Exception: IknowParams::Parser::ParseError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- IknowParams::Parser::ParseError
- Defined in:
- lib/iknow_params/parser.rb
Instance Attribute Summary collapse
-
#param ⇒ Object
Returns the value of attribute param.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(message, param, value) ⇒ ParseError
constructor
A new instance of ParseError.
Constructor Details
#initialize(message, param, value) ⇒ ParseError
Returns a new instance of ParseError.
16 17 18 19 20 |
# File 'lib/iknow_params/parser.rb', line 16 def initialize(, param, value) super() self.param = param self.value = value end |
Instance Attribute Details
#param ⇒ Object
Returns the value of attribute param.
14 15 16 |
# File 'lib/iknow_params/parser.rb', line 14 def param @param end |
#value ⇒ Object
Returns the value of attribute value.
14 15 16 |
# File 'lib/iknow_params/parser.rb', line 14 def value @value end |