Exception: NestedText::Errors::DumpBadIOError

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

Instance Method Summary collapse

Constructor Details

#initialize(io) ⇒ DumpBadIOError

Returns a new instance of DumpBadIOError.



252
253
254
# File 'lib/nestedtext/errors_internal.rb', line 252

def initialize(io)
  super("When giving the io argument, it must be of type IO (respond to #write, #fsync). Given: #{io.class.name}")
end