Class: ObjectiveCommand::Runners::Exec

Inherits:
Runner show all
Defined in:
lib/objective_command/runners/exec.rb

Direct Known Subclasses

Fork

Instance Attribute Summary

Attributes inherited from Runner

#command_data_factory

Instance Method Summary collapse

Methods inherited from Runner

#apply_options, #fork, #initialize, #initialize_copy, #make_debug, #make_verbose, #raise_on_failures, #run

Methods included from Mockable

#make_mock

Methods included from Hooker

#hook_method

Methods included from Hookable

#disable_hook, #hook_trigger, #hooker_subscribe, #subscribe_hook

Constructor Details

This class inherits a constructor from ObjectiveCommand::Runners::Runner

Instance Method Details

#exec(aCommand, data) ⇒ Object



13
14
15
# File 'lib/objective_command/runners/exec.rb', line 13

def exec ( aCommand, data )
  Kernel.exec(*aCommand.to_a)
end