Exception: AllGems::GemWorker::Error
- Inherits:
-
StandardError
- Object
- StandardError
- AllGems::GemWorker::Error
- Defined in:
- lib/allgems/GemWorker.rb
Overview
Make a parent error class that we can specialize
Direct Known Subclasses
Instance Attribute Summary collapse
-
#original ⇒ Object
readonly
Returns the value of attribute original.
Instance Method Summary collapse
-
#initialize(e = nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(e = nil) ⇒ Error
Returns a new instance of Error.
196 197 198 |
# File 'lib/allgems/GemWorker.rb', line 196 def initialize(e=nil) @original = e.nil? ? self : e end |
Instance Attribute Details
#original ⇒ Object (readonly)
Returns the value of attribute original.
195 196 197 |
# File 'lib/allgems/GemWorker.rb', line 195 def original @original end |