Exception: RTesseract::ErrorWithMemory

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rtesseract/errors.rb

Overview

Class of error with storage of normal errors

Instance Attribute Summary collapse

Instance Method Summary collapse

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_errorObject

Returns the value of attribute old_error.



4
5
6
# File 'lib/rtesseract/errors.rb', line 4

def old_error
  @old_error
end