Class: ForemanProbingCore::Actions::CommandRunner

Inherits:
ForemanTasksCore::Runner::CommandRunner
  • Object
show all
Defined in:
lib/foreman_probing_core/actions/use_probe.rb

Instance Method Summary collapse

Constructor Details

#initialize(*command) ⇒ CommandRunner

Returns a new instance of CommandRunner.



7
8
9
10
# File 'lib/foreman_probing_core/actions/use_probe.rb', line 7

def initialize(*command)
  super
  @command = command
end

Instance Method Details

#startObject



12
13
14
# File 'lib/foreman_probing_core/actions/use_probe.rb', line 12

def start
  initialize_command(*@command)
end