In Files

  • net/protocol.rb

Parent

Methods

Net::WriteTimeout

WriteTimeout, a subclass of Timeout::Error, is raised if a chunk of the response cannot be written within the write_timeout. Not raised on Windows.

Attributes

io[R]

Public Class Methods

new(io = nil) click to toggle source
 
               # File net/protocol.rb, line 99
def initialize(io = nil)
  @io = io
end
            

Public Instance Methods

message() click to toggle source
 
               # File net/protocol.rb, line 104
def message
  msg = super
  if @io
    msg = "#{msg} with #{@io.inspect}"
  end
  msg
end