Exception: CRFPP::Error
- Inherits:
-
StandardError
- Object
- StandardError
- CRFPP::Error
- Defined in:
- lib/crfpp/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.
7 8 9 10 |
# File 'lib/crfpp/errors.rb', line 7 def initialize( = nil, original = $!) super() @original = original end |
Instance Attribute Details
#original ⇒ Object
Returns the value of attribute original.
5 6 7 |
# File 'lib/crfpp/errors.rb', line 5 def original @original end |