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