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