class Net::SSH::Buffer
def write_string(*text)
string is prefixed by its length, encoded as a 4-byte long integer.
Writes each argument to the buffer as an SSH2-encoded string. Each
def write_string(*text) text.each do |string| s = string.to_s write_long(s.bytesize) write(s) end self end