Class: TextDetector::Dictionary::Base
- Inherits:
-
Object
- Object
- TextDetector::Dictionary::Base
- Defined in:
- lib/text_detector/dictionary/base.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(dictionary) ⇒ Base
constructor
A new instance of Base.
- #lookup(member) ⇒ Object
- #members ⇒ Object
Constructor Details
#initialize(dictionary) ⇒ Base
Returns a new instance of Base.
4 5 6 |
# File 'lib/text_detector/dictionary/base.rb', line 4 def initialize(dictionary) setup(dictionary) end |
Instance Method Details
#lookup(member) ⇒ Object
8 9 10 |
# File 'lib/text_detector/dictionary/base.rb', line 8 def lookup(member) raise NotImplementedError end |
#members ⇒ Object
12 13 14 |
# File 'lib/text_detector/dictionary/base.rb', line 12 def members raise NotImplementedError end |