Exception: Walrat::LeftRecursionException
- Inherits:
-
Exception
- Object
- Exception
- Walrat::LeftRecursionException
- Defined in:
- lib/walrat/left_recursion_exception.rb
Instance Attribute Summary collapse
-
#continuation ⇒ Object
Returns the value of attribute continuation.
Instance Method Summary collapse
-
#initialize(continuation = nil) ⇒ LeftRecursionException
constructor
A new instance of LeftRecursionException.
Constructor Details
#initialize(continuation = nil) ⇒ LeftRecursionException
Returns a new instance of LeftRecursionException.
29 30 31 32 |
# File 'lib/walrat/left_recursion_exception.rb', line 29 def initialize continuation = nil super self.class.to_s @continuation = continuation end |
Instance Attribute Details
#continuation ⇒ Object
Returns the value of attribute continuation.
27 28 29 |
# File 'lib/walrat/left_recursion_exception.rb', line 27 def continuation @continuation end |