A specialized class for use by the Net::SSH "popen3" service. An instance of this class represents a means of writing data to an SSH channel. This class should never be instantiated directly; use the popen3 method instead.

Methods
Attributes
[R] channel The channel used by this pipe.
Public Class methods
new( channel )

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
Public Instance methods
puts( data )

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
write( data )

Write the given data as channel data to the underlying channel.

    # File lib/net/ssh/service/process/popen3.rb, line 85
85:             def write( data )
86:               @channel.send_data data
87:               @channel.connection.process true
88:             end

[Validate]