Class: SSHKit::Backend::Abstract

Inherits:
Object
  • Object
show all
Defined in:
lib/mrsk/sshkit_with_ext.rb

Instance Method Summary collapse

Instance Method Details

#capture_with_info(*args) ⇒ Object



5
6
7
# File 'lib/mrsk/sshkit_with_ext.rb', line 5

def capture_with_info(*args)
  capture(*args, verbosity: Logger::INFO)
end

#puts_by_host(host, output, type: "App") ⇒ Object



9
10
11
# File 'lib/mrsk/sshkit_with_ext.rb', line 9

def puts_by_host(host, output, type: "App")
  puts "#{type} Host: #{host}\n#{output}\n\n"
end