Exception: MarchHare::ShutdownSignal

Inherits:
Exception
  • Object
show all
Defined in:
lib/march_hare/exceptions.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (ShutdownSignal) initialize(cause)

A new instance of ShutdownSignal



8
9
10
# File 'lib/march_hare/exceptions.rb', line 8

def initialize(cause)
  @cause = cause
end

Instance Attribute Details

- (Object) cause (readonly)

Returns the value of attribute cause



6
7
8
# File 'lib/march_hare/exceptions.rb', line 6

def cause
  @cause
end