Class: FixedParameterRunner
- Inherits:
-
Object
- Object
- FixedParameterRunner
- Defined in:
- app/ports/runner.rb
Instance Method Summary collapse
-
#initialize(underlying_runner, input, env) ⇒ FixedParameterRunner
constructor
A new instance of FixedParameterRunner.
- #run(command) ⇒ Object
Constructor Details
#initialize(underlying_runner, input, env) ⇒ FixedParameterRunner
Returns a new instance of FixedParameterRunner.
56 57 58 |
# File 'app/ports/runner.rb', line 56 def initialize(, input, env) @runner, @input, @env = , input, env end |
Instance Method Details
#run(command) ⇒ Object
60 61 62 |
# File 'app/ports/runner.rb', line 60 def run(command) @runner.run(command, @input, @env) end |