Methods

SSHKit::Utils::CaptureOutputMethods

Public Instance Methods

<<(object) click to toggle source
# File lib/sshkit/utils/capture_output_methods.rb, line 4
def <<(object)
  if object.is_a?(SSHKit::Command) || object.is_a?(SSHKit::LogMessage)
    super("#{object}\n")
  else
    super
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.