Exception: Baba::BabaRuntimeError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Baba::BabaRuntimeError
- Defined in:
- lib/baba/runtime_error.rb
Instance Attribute Summary collapse
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize(token, message) ⇒ BabaRuntimeError
constructor
A new instance of BabaRuntimeError.
Constructor Details
#initialize(token, message) ⇒ BabaRuntimeError
Returns a new instance of BabaRuntimeError.
5 6 7 8 |
# File 'lib/baba/runtime_error.rb', line 5 def initialize(token, ) super() @token = token end |
Instance Attribute Details
#token ⇒ Object (readonly)
Returns the value of attribute token.
3 4 5 |
# File 'lib/baba/runtime_error.rb', line 3 def token @token end |