Module: Shell
- Defined in:
- lib/shell/executer.rb
Defined Under Namespace
Classes: Executer
Class Method Summary collapse
-
.execute(command, options = {}, &block) ⇒ Object
Shorthand for Shell::Executer#execute.
-
.execute!(command, options = {}, &block) ⇒ Object
Shorthand for Shell::Executer#execute!.
Class Method Details
.execute(command, options = {}, &block) ⇒ Object
Shorthand for Shell::Executer#execute. For options see: Shell::Executer.new.
7 8 9 |
# File 'lib/shell/executer.rb', line 7 def execute(command, ={}, &block) Executer.new().execute(command, &block) end |
.execute!(command, options = {}, &block) ⇒ Object
Shorthand for Shell::Executer#execute!. For options see: Shell::Executer.new.
12 13 14 |
# File 'lib/shell/executer.rb', line 12 def execute!(command, ={}, &block) Executer.new().execute!(command, &block) end |