Class: Mqlight::ExceptionContainer
- Inherits:
-
Object
- Object
- Mqlight::ExceptionContainer
- Defined in:
- lib/mqlight/exceptions.rb
Overview
A container for any exception
Instance Attribute Summary collapse
-
#exception ⇒ Object
readonly
Returns the value of attribute exception.
Instance Method Summary collapse
-
#initialize(exception) ⇒ ExceptionContainer
constructor
A new instance of ExceptionContainer.
Constructor Details
#initialize(exception) ⇒ ExceptionContainer
Returns a new instance of ExceptionContainer.
82 83 84 |
# File 'lib/mqlight/exceptions.rb', line 82 def initialize(exception) @exception = exception end |
Instance Attribute Details
#exception ⇒ Object (readonly)
Returns the value of attribute exception.
80 81 82 |
# File 'lib/mqlight/exceptions.rb', line 80 def exception @exception end |