Class: FixedParameterRunner

Inherits:
Object
  • Object
show all
Defined in:
app/ports/runner.rb

Instance Method Summary collapse

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(underlying_runner, input, env)
  @runner, @input, @env = underlying_runner, 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