Printer
# File lib/sshkit/backends/netssh.rb, line 69 def background(*args) options = args.extract_options!.merge(run_in_background: true) _execute(*[*args, options]).success? end
# File lib/sshkit/backends/netssh.rb, line 74 def capture(*args) options = { verbosity: Logger::DEBUG }.merge(args.extract_options!) _execute(*[*args, options]).full_stdout.strip end
# File lib/sshkit/backends/netssh.rb, line 84 def download!(remote, local=nil, options = {}) summarizer = transfer_summarizer('Downloading') ssh.scp.download!(remote, local, options, &summarizer) end
# File lib/sshkit/backends/netssh.rb, line 65 def execute(*args) _execute(*args).success? end
# File lib/sshkit/backends/netssh.rb, line 53 def run instance_exec(host, &@block) end
Generated with the Darkfish Rdoc Generator 2.