Class: ObjectiveCommand::Runners::NoRun

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

Overview

This very particular runner returns it’s command instead of running it.

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

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

#run(aCommand) ⇒ Object



14
15
16
# File 'lib/objective_command/runners/no_run.rb', line 14

def run ( aCommand )
  aCommand
end