Class: Switchman::Parallel::QuietExceptionWrapper

Inherits:
Object
  • Object
show all
Defined in:
lib/switchman/parallel.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, wrapper) ⇒ QuietExceptionWrapper

Returns a new instance of QuietExceptionWrapper.



18
19
20
21
# File 'lib/switchman/parallel.rb', line 18

def initialize(name, wrapper)
  @name = name
  @wrapper = wrapper
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



16
17
18
# File 'lib/switchman/parallel.rb', line 16

def name
  @name
end

Instance Method Details

#exceptionObject



23
24
25
# File 'lib/switchman/parallel.rb', line 23

def exception
  @wrapper.exception
end