Class: TextDetector::Dictionary::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/text_detector/dictionary/base.rb

Direct Known Subclasses

File

Instance Method Summary collapse

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

Raises:

  • (NotImplementedError)


8
9
10
# File 'lib/text_detector/dictionary/base.rb', line 8

def lookup(member)
  raise NotImplementedError
end

#membersObject

Raises:

  • (NotImplementedError)


12
13
14
# File 'lib/text_detector/dictionary/base.rb', line 12

def members
  raise NotImplementedError
end