Exception: NestedText::Errors::DumpHashKeyStrictStringError

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

Instance Attribute Summary

Attributes inherited from DumpError

#culprit

Instance Method Summary collapse

Constructor Details

#initialize(obj) ⇒ DumpHashKeyStrictStringError

Returns a new instance of DumpHashKeyStrictStringError.



243
244
245
# File 'lib/nestedtext/errors_internal.rb', line 243

def initialize(obj)
  super(obj, 'keys must be strings.')
end