This method is deprecated or moved on the latest stable version.
The last existing version (v2_2_9) is shown here.
write(string)
public
Write string to the host.
Does not perform any conversions on string. Will log
string to the dumplog, if the Dump_log option is set.
# File lib/net/telnet.rb, line 610
def write(string)
length = string.length
while 0 < length
IO::select(nil, [@sock])
@dumplog.log_dump('>', string[-length..-1]) if @options.has_key?("Dump_log")
length -= @sock.syswrite(string[-length..-1])
end
end