Included Modules

SSHKit::Backend::Printer

Public Instance Methods

capture(*args) click to toggle source
# File lib/sshkit/backends/printer.rb, line 21
def capture(*args)
  String.new.tap { execute(*args) }
end
Also aliased as: capture!
capture!(*args) click to toggle source
Alias for: capture
download!(*args) click to toggle source
Alias for: execute
execute(*args) click to toggle source
# File lib/sshkit/backends/printer.rb, line 12
def execute(*args)
  command(*args).tap do |cmd|
    output << cmd
  end
end
Also aliased as: upload!, download!, test
run() click to toggle source
# File lib/sshkit/backends/printer.rb, line 8
def run
  instance_exec(host, &@block)
end
test(*args) click to toggle source
Alias for: execute
upload!(*args) click to toggle source
Alias for: execute

[Validate]

Generated with the Darkfish Rdoc Generator 2.