Exception: Rundoc::PegTransformer::TransformError
- Inherits:
-
StandardError
- Object
- StandardError
- Rundoc::PegTransformer::TransformError
- Defined in:
- lib/rundoc/peg_parser.rb
Instance Attribute Summary collapse
-
#line_and_column ⇒ Object
readonly
Returns the value of attribute line_and_column.
Instance Method Summary collapse
-
#initialize(message:, line_and_column:) ⇒ TransformError
constructor
A new instance of TransformError.
Constructor Details
#initialize(message:, line_and_column:) ⇒ TransformError
Returns a new instance of TransformError.
227 228 229 230 |
# File 'lib/rundoc/peg_parser.rb', line 227 def initialize(message: , line_and_column:) @line_and_column = line_and_column || [1, 1] super end |
Instance Attribute Details
#line_and_column ⇒ Object (readonly)
Returns the value of attribute line_and_column.
226 227 228 |
# File 'lib/rundoc/peg_parser.rb', line 226 def line_and_column @line_and_column end |