Class: Titlegen
- Inherits:
-
Object
- Object
- Titlegen
- Includes:
- Dictionary
- Defined in:
- lib/titlegen.rb,
lib/titlegen/version.rb
Constant Summary collapse
- VERSION =
"1.1.0"
Constants included from Dictionary
Class Method Summary collapse
Methods included from Dictionary
Class Method Details
.generate_title ⇒ Object
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 |