Exception: FluShot::Sneeze
- Inherits:
-
StandardError
- Object
- StandardError
- FluShot::Sneeze
- Defined in:
- lib/flu_shot/sneeze.rb
Instance Attribute Summary collapse
-
#wrapped_exception ⇒ Object
readonly
Returns the value of attribute wrapped_exception.
Instance Method Summary collapse
-
#initialize(exception) ⇒ Sneeze
constructor
A new instance of Sneeze.
Constructor Details
#initialize(exception) ⇒ Sneeze
Returns a new instance of Sneeze.
3 4 5 |
# File 'lib/flu_shot/sneeze.rb', line 3 def initialize(exception) @wrapped_exception = exception end |
Instance Attribute Details
#wrapped_exception ⇒ Object (readonly)
Returns the value of attribute wrapped_exception.
7 8 9 |
# File 'lib/flu_shot/sneeze.rb', line 7 def wrapped_exception @wrapped_exception end |