Exception: RplTypeError
- Inherits:
-
StandardError
- Object
- StandardError
- RplTypeError
- Defined in:
- lib/rpl/parser.rb
Instance Attribute Summary collapse
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
Instance Method Summary collapse
-
#initialize(reason = '-undefined-') ⇒ RplTypeError
constructor
A new instance of RplTypeError.
Constructor Details
#initialize(reason = '-undefined-') ⇒ RplTypeError
Returns a new instance of RplTypeError.
6 7 8 9 |
# File 'lib/rpl/parser.rb', line 6 def initialize( reason = '-undefined-' ) super @reason = reason end |
Instance Attribute Details
#reason ⇒ Object (readonly)
Returns the value of attribute reason.
4 5 6 |
# File 'lib/rpl/parser.rb', line 4 def reason @reason end |