Exception: Baloo::NetworkError
- Defined in:
- lib/baloo/error.rb
Instance Attribute Summary collapse
-
#original ⇒ Object
readonly
Returns the value of attribute original.
Instance Method Summary collapse
-
#initialize(original = $!) ⇒ NetworkError
constructor
A new instance of NetworkError.
Constructor Details
#initialize(original = $!) ⇒ NetworkError
Returns a new instance of NetworkError.
19 20 21 22 23 24 25 26 |
# File 'lib/baloo/error.rb', line 19 def initialize(original = $!) if original.nil? super else super(original.) end @original = original end |
Instance Attribute Details
#original ⇒ Object (readonly)
Returns the value of attribute original.
17 18 19 |
# File 'lib/baloo/error.rb', line 17 def original @original end |