Module: Cryptozoologist::Dictionaries

Extended by:
Dictionaries
Included in:
Dictionaries
Defined in:
lib/cryptozoologist/dictionaries.rb,
lib/cryptozoologist/dictionaries/filler.rb,
lib/cryptozoologist/dictionaries/states.rb,
lib/cryptozoologist/dictionaries/clothing.rb,
lib/cryptozoologist/dictionaries/quantity.rb,
lib/cryptozoologist/dictionaries/punctuation.rb,
lib/cryptozoologist/dictionaries/colors/paint.rb,
lib/cryptozoologist/dictionaries/animals/common.rb,
lib/cryptozoologist/dictionaries/colors/web_safe.rb,
lib/cryptozoologist/dictionaries/animals/mythical.rb,
lib/cryptozoologist/dictionaries/people/last_name.rb,
lib/cryptozoologist/dictionaries/people/first_name.rb

Defined Under Namespace

Modules: Animals, Clothing, Colors, Filler, People, Punctuation, Quantity, States

Instance Method Summary collapse

Instance Method Details

#addressesObject



50
51
52
# File 'lib/cryptozoologist/dictionaries.rb', line 50

def addresses
  Addresses.list
end

#animalsObject



5
6
7
# File 'lib/cryptozoologist/dictionaries.rb', line 5

def animals
  create_list(:animals)
end

#citiesObject



58
59
60
# File 'lib/cryptozoologist/dictionaries.rb', line 58

def cities
  create_list(:cities)
end

#clothingObject



9
10
11
# File 'lib/cryptozoologist/dictionaries.rb', line 9

def clothing
  Clothing.list
end

#colorsObject



13
14
15
# File 'lib/cryptozoologist/dictionaries.rb', line 13

def colors
  create_list(:colors)
end

#fillerObject



42
43
44
# File 'lib/cryptozoologist/dictionaries.rb', line 42

def filler
  Filler.list
end

#first_nameObject



62
63
64
# File 'lib/cryptozoologist/dictionaries.rb', line 62

def first_name
  People::FirstName.list
end

#last_nameObject



66
67
68
# File 'lib/cryptozoologist/dictionaries.rb', line 66

def last_name
  People::LastName.list
end

#libraryObject



21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# File 'lib/cryptozoologist/dictionaries.rb', line 21

def library
  {
    animals: {
      common: Animals::Common,
      mythical: Animals::Mythical
    },
    colors: {
      paint: Colors::Paint,
      web: Colors::WebSafe
    },
    cities: {
      words: Cities::Words,
      terminologies: Cities::Terminologies
    },
    people: {
      first_name: People::FirstName,
      last_name: People::LastName,
    }
  }
end

#punctuationObject



46
47
48
# File 'lib/cryptozoologist/dictionaries.rb', line 46

def punctuation
  Punctuation.list
end

#quantityObject



17
18
19
# File 'lib/cryptozoologist/dictionaries.rb', line 17

def quantity
  Quantity.list
end

#statesObject



54
55
56
# File 'lib/cryptozoologist/dictionaries.rb', line 54

def states
  States.list
end