Class: Teapot::Command::Generate
- Inherits:
-
Samovar::Command
- Object
- Samovar::Command
- Teapot::Command::Generate
- Defined in:
- lib/teapot/command.rb
Instance Method Summary collapse
Instance Method Details
#invoke(parent) ⇒ Object
70 71 72 73 74 |
# File 'lib/teapot/command.rb', line 70 def invoke(parent) generator_name, *arguments = @arguments parent.controller.generate(@generator_name, @arguments, @options[:force]) end |