Class: JDict::DictionaryIndexer
- Inherits:
-
Object
- Object
- JDict::DictionaryIndexer
show all
- Defined in:
- lib/ruby-jdict/indexer/dictionary_indexer.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
7
8
9
10
11
12
|
# File 'lib/ruby-jdict/indexer/dictionary_indexer.rb', line 7
def initialize(path)
raise "No dictionary path was provided" if path.nil?
raise "Dictionary not found at path #{@path}" unless File.exists?(path)
@path = path
end
|
Instance Attribute Details
#parts_of_speech ⇒ Object
Returns the value of attribute parts_of_speech.
5
6
7
|
# File 'lib/ruby-jdict/indexer/dictionary_indexer.rb', line 5
def parts_of_speech
@parts_of_speech
end
|
Instance Method Details
#index(db_transaction, &block) ⇒ Object
14
15
|
# File 'lib/ruby-jdict/indexer/dictionary_indexer.rb', line 14
def index(db_transaction, &block)
end
|
#parse_parts_of_speech ⇒ Object
17
18
|
# File 'lib/ruby-jdict/indexer/dictionary_indexer.rb', line 17
def parse_parts_of_speech
end
|