Exception: AnyStyle::Error
- Inherits:
-
StandardError
- Object
- StandardError
- AnyStyle::Error
- Defined in:
- lib/anystyle/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#original ⇒ Object
Returns the value of attribute original.
Instance Method Summary collapse
-
#initialize(message = nil, original = $!) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message = nil, original = $!) ⇒ Error
Returns a new instance of Error.
6 7 8 9 |
# File 'lib/anystyle/errors.rb', line 6 def initialize( = nil, original = $!) super() @original = original end |
Instance Attribute Details
#original ⇒ Object
Returns the value of attribute original.
4 5 6 |
# File 'lib/anystyle/errors.rb', line 4 def original @original end |