Exception: SmokeSignals::RestartException

Inherits:
StackUnwindException show all
Defined in:
lib/smoke_signals.rb

Overview

You should never rescue this exception. See StackUnwindException.

Instance Attribute Summary collapse

Attributes inherited from StackUnwindException

#nonce

Instance Method Summary collapse

Constructor Details

#initialize(nonce, restart_receiver, restart_args) ⇒ RestartException



50
51
52
53
54
# File 'lib/smoke_signals.rb', line 50

def initialize(nonce, restart_receiver, restart_args)
  super(nonce)
  @restart_receiver = restart_receiver
  @restart_args = restart_args
end

Instance Attribute Details

#restart_argsObject (readonly)

Returns the value of attribute restart_args



49
50
51
# File 'lib/smoke_signals.rb', line 49

def restart_args
  @restart_args
end

#restart_receiverObject (readonly)

Returns the value of attribute restart_receiver



49
50
51
# File 'lib/smoke_signals.rb', line 49

def restart_receiver
  @restart_receiver
end