Class: Titlegen

Inherits:
Object
  • Object
show all
Includes:
Dictionary
Defined in:
lib/titlegen.rb,
lib/titlegen/version.rb

Constant Summary collapse

VERSION =
"1.1.0"

Constants included from Dictionary

Dictionary::DICTIONARY

Class Method Summary collapse

Methods included from Dictionary

adjective, noun, pronoun

Class Method Details

.generate_titleObject



10
11
12
13
14
15
# File 'lib/titlegen.rb', line 10

def self.generate_title
  adjective = Dictionary.adjective
  pronoun = self.correctly_voweled_pronoun(adjective)
  noun = self.correctly_pluralized_noun(pronoun)
  self.make_title(pronoun, adjective, noun)
end