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