module Berkshelf::ShellOut
Public Instance Methods
Source
# File lib/berkshelf/shell_out.rb, line 5 def shell_out(*args, **options) cmd = Mixlib::ShellOut.new(*args, **options) cmd.run_command cmd end
Source
# File lib/berkshelf/shell_out.rb, line 11 def shell_out!(*args, **options) cmd = Mixlib::ShellOut.new(*args, **options) cmd.run_command cmd.error! cmd end