Class: ChefCLI::ShellOut
- Inherits:
 - 
      Mixlib::ShellOut
      
        
- Object
 - Mixlib::ShellOut
 - ChefCLI::ShellOut
 
 
- Defined in:
 - lib/chef-cli/shell_out.rb
 
Overview
A subclass of Mixlib::ShellOut that conforms to the API expected by CookbookOmnifetch
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.shell_out(*command_args) ⇒ Object
      27 28 29 30 31  | 
    
      # File 'lib/chef-cli/shell_out.rb', line 27 def self.shell_out(*command_args) cmd = new(*command_args) cmd.run_command cmd end  | 
  
Instance Method Details
#success? ⇒ Boolean
      33 34 35  | 
    
      # File 'lib/chef-cli/shell_out.rb', line 33 def success? !error? end  |