| Class | Net::SSH::Service::Process::POpen3Manager::SSHStdinPipe |
| In: |
lib/net/ssh/service/process/popen3.rb
|
| Parent: | Object |
| channel | [R] | The channel used by this pipe. |
Create a new stdin pipe on the given channel.
# File lib/net/ssh/service/process/popen3.rb, line 80
80: def initialize( channel )
81: @channel = channel
82: end
Write the given data as channel data to the underlying channel, appending a newline character (if one isn’t already appended).
# File lib/net/ssh/service/process/popen3.rb, line 92
92: def puts( data )
93: write data.chomp + "\n"
94: end