Exception: NestedText::Errors::LineTypeExpectedDictItem

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

Instance Attribute Summary

Attributes inherited from ParseError

#colno, #lineno, #message_raw

Instance Method Summary collapse

Constructor Details

#initialize(line) ⇒ LineTypeExpectedDictItem

Returns a new instance of LineTypeExpectedDictItem.



147
148
149
# File 'lib/nestedtext/errors.rb', line 147

def initialize(line)
  super(line, line.indentation, "expected dictionary item.")
end