Class: FamilyReunion::Cache

Inherits:
Object
  • Object
show all
Defined in:
lib/family-reunion/cache.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCache

Returns a new instance of Cache.



5
6
7
8
9
10
# File 'lib/family-reunion/cache.rb', line 5

def initialize
  @word_letters = {}
  @similar_words = {}
  @taxamatch_genus = {}
  @taxamatch_species = {}
end

Instance Attribute Details

#word_lettersObject (readonly)

Returns the value of attribute word_letters.



3
4
5
# File 'lib/family-reunion/cache.rb', line 3

def word_letters
  @word_letters
end