class NestedText::Errors::DumpBadIOError
Public Class Methods
new(io)
click to toggle source
Calls superclass method
# 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