Class: Foodie::CLI
- Inherits:
-
Thor
- Object
- Thor
- Foodie::CLI
- Defined in:
- lib/foodie/cli.rb
Instance Method Summary collapse
Instance Method Details
#pluralize ⇒ Object
12 13 14 |
# File 'lib/foodie/cli.rb', line 12 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
16 17 18 |
# File 'lib/foodie/cli.rb', line 16 def recipe(group, name) Foodie::Generators::Recipe.start([group, name]) end |