Exception: NestedText::Errors::ParseLineTypeExpectedDictItemError
- Inherits:
-
ParseError
- Object
- StandardError
- NestedText::Error
- InternalError
- ParseError
- NestedText::Errors::ParseLineTypeExpectedDictItemError
- Defined in:
- lib/nestedtext/errors_internal.rb
Instance Attribute Summary
Attributes inherited from ParseError
Instance Method Summary collapse
-
#initialize(line) ⇒ ParseLineTypeExpectedDictItemError
constructor
A new instance of ParseLineTypeExpectedDictItemError.
Constructor Details
#initialize(line) ⇒ ParseLineTypeExpectedDictItemError
Returns a new instance of ParseLineTypeExpectedDictItemError.
160 161 162 |
# File 'lib/nestedtext/errors_internal.rb', line 160 def initialize(line) super(line, line.indentation, 'expected dictionary item.') end |