Method: Train::Extras::CommandWrapperBase#run

Defined in:
lib/train/extras/command_wrapper.rb

#run(_command) ⇒ String

Wrap a command and return the augmented command which can be executed.

Parameters:

  • command (Strin)

    that will be wrapper

Returns:

  • (String)

    result of wrapping the command



22
23
24
# File 'lib/train/extras/command_wrapper.rb', line 22

def run(_command)
  fail Train::ClientError, "#{self.class} does not implement #run(command)"
end