class ChefDK::ShellOut
A subclass of Mixlib::ShellOut that conforms to the API expected by CookbookOmnifetch
Public Class Methods
shell_out(*command_args)
click to toggle source
# File lib/chef-dk/shell_out.rb, line 25 def self.shell_out(*command_args) cmd = new(*command_args) cmd.run_command cmd end
Public Instance Methods
success?()
click to toggle source
# File lib/chef-dk/shell_out.rb, line 31 def success? !error? end