Class: Foodie::CLI
- Inherits:
-
Thor
- Object
- Thor
- Foodie::CLI
- Defined in:
- lib/foodie/cli.rb
Instance Method Summary collapse
Instance Method Details
#pluralize ⇒ Object
13 14 15 |
# File 'lib/foodie/cli.rb', line 13 def pluralize puts Foodie::Food.pluralize([:word]) end |
#portray(name) ⇒ Object
7 8 9 |
# File 'lib/foodie/cli.rb', line 7 def portray(name) puts Foodie::Food.portray(name) end |
#recipe(group, name) ⇒ Object
17 18 19 |
# File 'lib/foodie/cli.rb', line 17 def recipe(group, name) Foodie::Generators::Recipe.start([group, name]) end |