Exception: Bool::SyntaxError
- Inherits:
-
StandardError
- Object
- StandardError
- Bool::SyntaxError
- Defined in:
- lib/bool.rb,
ext/bool_ext/ext.c
Instance Attribute Summary collapse
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize(message, token) ⇒ SyntaxError
constructor
A new instance of SyntaxError.
Constructor Details
#initialize(message, token) ⇒ SyntaxError
Returns a new instance of SyntaxError.
12 13 14 15 |
# File 'lib/bool.rb', line 12 def initialize(, token) super() @token = token end |
Instance Attribute Details
#token ⇒ Object (readonly)
Returns the value of attribute token.
10 11 12 |
# File 'lib/bool.rb', line 10 def token @token end |