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