Exception: NestedText::Errors::MultilineKeyNoValue

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

Returns a new instance of MultilineKeyNoValue.



77
78
79
# File 'lib/nestedtext/errors.rb', line 77

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