lib/net/sftp/response.rb
# Returns a textual description of this response, including the status
# code and name.
Returns a textual description of this response, including the status
code and name.
Returns a textual description of this response including the status code and name .
def to_s
      if message && !message.empty? && message.downcase != MAP[code]
        "#{message} (#{MAP[code]}, #{code})"
      else
        "#{MAP[code]} (#{code})"
      end
    end
def to_s if message && ! message . empty? && message . downcase != MAP [ code ] "#{message} (#{MAP[code]}, #{code})" else "#{MAP[code]} (#{code})" end end
Returns a textual description of this response, including the status
code and name.
Returns a textual description of this response including the status code and name .