Exception: RTesseract::ErrorWithMemory
- Inherits:
-
StandardError
- Object
- StandardError
- RTesseract::ErrorWithMemory
- Defined in:
- lib/rtesseract/errors.rb
Overview
Class of error with storage of normal errors
Direct Known Subclasses
ConversionError, ImageNotSelectedError, TempFilesNotRemovedError
Instance Attribute Summary collapse
-
#old_error ⇒ Object
Returns the value of attribute old_error.
Instance Method Summary collapse
-
#initialize(stored_error = nil) ⇒ ErrorWithMemory
constructor
A new instance of ErrorWithMemory.
Constructor Details
#initialize(stored_error = nil) ⇒ ErrorWithMemory
Returns a new instance of ErrorWithMemory.
6 7 8 |
# File 'lib/rtesseract/errors.rb', line 6 def initialize(stored_error = nil) @old_error = stored_error end |
Instance Attribute Details
#old_error ⇒ Object
Returns the value of attribute old_error.
4 5 6 |
# File 'lib/rtesseract/errors.rb', line 4 def old_error @old_error end |