Exception: Mccloud::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Mccloud::Error
- Defined in:
- lib/mccloud/error.rb
Instance Attribute Summary collapse
-
#orginal ⇒ Object
readonly
Returns the value of attribute orginal.
Instance Method Summary collapse
-
#initialize(msg, original = $!) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(msg, original = $!) ⇒ Error
Returns a new instance of Error.
4 5 6 |
# File 'lib/mccloud/error.rb', line 4 def initialize(msg, original=$!) super(msg) @original = original; end |
Instance Attribute Details
#orginal ⇒ Object (readonly)
Returns the value of attribute orginal.
3 4 5 |
# File 'lib/mccloud/error.rb', line 3 def orginal @orginal end |