class Net::WriteTimeout
WriteTimeout, подкласс Timeout::Error, возникает, если фрагмент ответа не удаётся записать в течение времени write_timeout. В Windows не возникает.
Атрибуты
Открытые методы класса
# File lib/net/protocol.rb, line 100 def initialize(io = nil) @io = io end
Открытые методы экземпляра
# File lib/net/protocol.rb, line 105
def message
msg = super
if @io
msg = "#{msg} with #{@io.inspect}"
end
msg
end Вызывает метод суперкласса
Exception#message
Ruby Core © 1993–2025 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.