Exception: Parlour::ParseError
- Inherits:
-
StandardError
- Object
- StandardError
- Parlour::ParseError
- Extended by:
- T::Sig
- Defined in:
- lib/parlour/parse_error.rb
Instance Attribute Summary collapse
-
#buffer ⇒ Object
readonly
Returns the value of attribute buffer.
-
#range ⇒ Object
readonly
Returns the value of attribute range.
Instance Method Summary collapse
-
#initialize(buffer, range) ⇒ ParseError
constructor
A new instance of ParseError.
Constructor Details
#initialize(buffer, range) ⇒ ParseError
Returns a new instance of ParseError.
13 14 15 16 17 |
# File 'lib/parlour/parse_error.rb', line 13 def initialize(buffer, range) super() @buffer = buffer @range = range end |
Instance Attribute Details
#buffer ⇒ Object (readonly)
Returns the value of attribute buffer.
8 9 10 |
# File 'lib/parlour/parse_error.rb', line 8 def buffer @buffer end |
#range ⇒ Object (readonly)
Returns the value of attribute range.
11 12 13 |
# File 'lib/parlour/parse_error.rb', line 11 def range @range end |