Method: Net::Telnet#puts
- Defined in:
- lib/net/telnet.rb
#puts(string) ⇒ Object
Sends a string to the host.
Same as #print(), but appends a newline to the string.
647 648 649 |
# File 'lib/net/telnet.rb', line 647 def puts(string) self.print(string + "\n") end |