| Module | Rails::Generator::Commands |
| In: |
lib/rails_generator/commands.rb
|
Here‘s a convenient way to get a handle on generator commands. Command.instance(‘destroy’, my_generator) instantiates a Destroy delegate of my_generator ready to do your dirty work.