Class: TesseractFFI::TessException
- Inherits:
-
Gem::Exception
- Object
- Gem::Exception
- TesseractFFI::TessException
- Defined in:
- lib/tesseract_ffi/tess_exception.rb
Overview
class TessException
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
Instance Method Summary collapse
-
#initialize(error_msg) ⇒ TessException
constructor
A new instance of TessException.
Constructor Details
#initialize(error_msg) ⇒ TessException
Returns a new instance of TessException.
7 8 9 |
# File 'lib/tesseract_ffi/tess_exception.rb', line 7 def initialize(error_msg) @error = error_msg end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
6 7 8 |
# File 'lib/tesseract_ffi/tess_exception.rb', line 6 def error @error end |