Class: Expeditor::Command::ConstCommand

Inherits:
Expeditor::Command show all
Defined in:
lib/expeditor/command.rb

Instance Method Summary collapse

Methods inherited from Expeditor::Command

#chain, const, #get, #on_complete, #on_failure, #on_success, #set_fallback, #start, start, #start_with_retry, #started?, #wait, #with_fallback

Constructor Details

#initialize(value) ⇒ ConstCommand

Returns a new instance of ConstCommand.



256
257
258
259
# File 'lib/expeditor/command.rb', line 256

def initialize(value)
  super(){ value }
  self.start
end