Class: Gem::Dependent::Parallel::ExceptionWrapper

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(exception) ⇒ ExceptionWrapper

Returns a new instance of ExceptionWrapper.



268
269
270
# File 'lib/rubygems/dependent/parallel.rb', line 268

def initialize(exception)
  @exception = exception
end

Instance Attribute Details

#exceptionObject (readonly)

Returns the value of attribute exception.



267
268
269
# File 'lib/rubygems/dependent/parallel.rb', line 267

def exception
  @exception
end