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.
236 237 238 239 |
# File 'lib/rundoc/peg_parser.rb', line 236 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.
235 236 237 |
# File 'lib/rundoc/peg_parser.rb', line 235 def line_and_column @line_and_column end |