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.
225 226 227 228 |
# File 'lib/rundoc/peg_parser.rb', line 225 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.
224 225 226 |
# File 'lib/rundoc/peg_parser.rb', line 224 def line_and_column @line_and_column end |