Exception: NestedText::Errors::ParseLineTypeExpectedDictItemError

Inherits:
ParseError show all
Defined in:
lib/nestedtext/errors_internal.rb

Instance Attribute Summary

Attributes inherited from ParseError

#colno, #lineno, #message_raw

Instance Method Summary collapse

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