Class: SSHKit::Backend::Skipper
- Defined in:
- lib/sshkit/backends/skipper.rb
Instance Attribute Summary
Attributes inherited from Abstract
Instance Method Summary collapse
- #execute_command(cmd) ⇒ Object
- #info(_messages) ⇒ Object (also: #log, #fatal, #error, #debug)
- 
  
    
      #initialize(&block)  ⇒ Skipper 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Skipper. 
Methods inherited from Abstract
#as, #background, #capture, config, configure, #execute, #make, #rake, #run, #with, #within
Constructor Details
#initialize(&block) ⇒ Skipper
Returns a new instance of Skipper.
| 6 7 8 | # File 'lib/sshkit/backends/skipper.rb', line 6 def initialize(&block) @block = block end | 
Instance Method Details
#execute_command(cmd) ⇒ Object
| 10 11 12 | # File 'lib/sshkit/backends/skipper.rb', line 10 def execute_command(cmd) warn "[SKIPPING] No Matching Host for #{cmd}" end | 
#info(_messages) ⇒ Object Also known as: log, fatal, error, debug
| 17 18 19 | # File 'lib/sshkit/backends/skipper.rb', line 17 def info() # suppress all messages except `warn` end |