Method: Net::SFTP::Operations::File#print

Defined in:
lib/net/sftp/operations/file.rb

Writes each argument to the stream. If $ is set, it will be written after all arguments have been written.



128
129
130
131
132
# File 'lib/net/sftp/operations/file.rb', line 128

def print(*items)
  items.each { |item| write(item) }
  write($\) if $\
  nil
end