Exception: Trenni::ParseError
- Defined in:
- lib/trenni/error.rb
Instance Attribute Summary collapse
-
#buffer ⇒ Object
readonly
Returns the value of attribute buffer.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(message, buffer, offset) ⇒ ParseError
constructor
A new instance of ParseError.
- #location ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(message, buffer, offset) ⇒ ParseError
Returns a new instance of ParseError.
30 31 32 33 34 35 |
# File 'lib/trenni/error.rb', line 30 def initialize(, buffer, offset) super() @buffer = buffer @offset = offset end |
Instance Attribute Details
#buffer ⇒ Object (readonly)
Returns the value of attribute buffer.
41 42 43 |
# File 'lib/trenni/error.rb', line 41 def buffer @buffer end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
42 43 44 |
# File 'lib/trenni/error.rb', line 42 def path @path end |