Class: CapUtil::LocalCmdRunner
- Inherits:
-
Object
- Object
- CapUtil::LocalCmdRunner
- Defined in:
- lib/cap-util/local_cmd_runner.rb
Instance Method Summary collapse
-
#initialize(cmd_str) ⇒ LocalCmdRunner
constructor
A new instance of LocalCmdRunner.
- #run!(input = nil) ⇒ Object
Constructor Details
#initialize(cmd_str) ⇒ LocalCmdRunner
Returns a new instance of LocalCmdRunner.
8 9 10 |
# File 'lib/cap-util/local_cmd_runner.rb', line 8 def initialize(cmd_str) @cmd = Scmd.new(cmd_str) end |