lib/em-ssh/connection/channel/interactive.rb
# Send data to the ssh server shell.
# You generally don't need to call this.
# @see #send_and_wait
# @param [String]  d            the data to send encoded as a string
# @param [Boolean] send_newline appends a newline terminator to the data (defaults: false).
Send data to the ssh server shell.
You generally don't need to call this.
Send data to the ssh server shell . You generally don ' t need to call this .
def send_data(d, send_newline=false)
            if send_newline
              super("#{d}#{@line_terminator}")
            else
              super("#{d}")
            end
          end
def send_data ( d , send_newline = false ) if send_newline super ( "#{d}#{@line_terminator}" ) else super ( "#{d}" ) end end
Send data to the ssh server shell.
Send data to the ssh server shell .
d
<not_specific>
send_newline
<not_specific>
<not_specific>
send_newline appends a newline terminator to the data (defaults: false).
send_newline appends a newline terminator to the data ( defaults : false ) .
see
None