Class: Commands::Runners::NoRun

Inherits:
Runner show all
Includes:
Concrete
Defined in:
lib/commands/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 included from Concrete

included

Methods inherited from Runner

#initialize, #initialize_copy, #make_debug, #make_verbose, #raise_on_failures, #run_impl

Methods included from Mockable

#make_mock

Methods included from Hooker

included

Methods included from Hookable

included

Methods included from Abstract

included

Constructor Details

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

Instance Method Details

#run(aCommand) ⇒ Object



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

def run ( aCommand )
  aCommand
end