Class: RichieFoodie::CLI
- Inherits:
-
Thor
- Object
- Thor
- RichieFoodie::CLI
- Defined in:
- lib/richie-foodie/cli.rb
Instance Method Summary collapse
Instance Method Details
#pluralize ⇒ Object
15 16 17 |
# File 'lib/richie-foodie/cli.rb', line 15 def pluralize puts RichieFoodie::Food.pluralize([:word]) end |
#portray(name) ⇒ Object
9 10 11 |
# File 'lib/richie-foodie/cli.rb', line 9 def portray(name) puts RichieFoodie::Food.portray(name) end |
#recipe(group, name) ⇒ Object
20 21 22 |
# File 'lib/richie-foodie/cli.rb', line 20 def recipe(group, name) RichieFoodie::Generators::Recipe.start([group, name]) end |