Exception: NestedText::Errors::ParseMultilineKeyNoValueError

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) ⇒ ParseMultilineKeyNoValueError

Returns a new instance of ParseMultilineKeyNoValueError.



90
91
92
# File 'lib/nestedtext/errors_internal.rb', line 90

def initialize(line)
  super(line, line.indentation, 'multiline key requires a value.')
end