Exception: NestedText::Errors::DumpBadIO
- Inherits:
-
InternalError
- Object
- StandardError
- NestedText::Error
- InternalError
- NestedText::Errors::DumpBadIO
- Defined in:
- lib/nestedtext/errors.rb
Instance Method Summary collapse
-
#initialize(io) ⇒ DumpBadIO
constructor
A new instance of DumpBadIO.
Constructor Details
#initialize(io) ⇒ DumpBadIO
Returns a new instance of DumpBadIO.
257 258 259 |
# File 'lib/nestedtext/errors.rb', line 257 def initialize(io) super("When giving the io argument, it must be of type IO (respond to #write, #fsync). Given: #{io.class.name}") end |