Class: Autowow::Executor::RunWrapper
- Inherits:
-
Object
- Object
- Autowow::Executor::RunWrapper
- Defined in:
- lib/autowow/executor.rb
Instance Method Summary collapse
-
#initialize(tty_command) ⇒ RunWrapper
constructor
A new instance of RunWrapper.
- #run(array) ⇒ Object
- #run!(array) ⇒ Object
Constructor Details
#initialize(tty_command) ⇒ RunWrapper
Returns a new instance of RunWrapper.
22 23 24 |
# File 'lib/autowow/executor.rb', line 22 def initialize(tty_command) @tty_command = tty_command end |
Instance Method Details
#run(array) ⇒ Object
26 27 28 |
# File 'lib/autowow/executor.rb', line 26 def run(array) @tty_command.run(*array) end |
#run!(array) ⇒ Object
30 31 32 |
# File 'lib/autowow/executor.rb', line 30 def run!(array) @tty_command.run!(*array) end |