Method: Pssh::Pty#write
- Defined in:
- lib/pssh/pty.rb
#write(data) ⇒ Object
Public: Writes to the open stream if they have access.
Returns nothing.
109 110 111 |
# File 'lib/pssh/pty.rb', line 109 def write(data) @write.write_nonblock data if Pssh.io_mode['w'] end |