Methods
Classes and Modules
Class Rails::Generator::Commands::BaseClass Rails::Generator::Commands::Create
Class Rails::Generator::Commands::Destroy
Class Rails::Generator::Commands::List
Class Rails::Generator::Commands::RewindBase
Class Rails::Generator::Commands::Update
Public Class methods
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.