Module: RubiGen::Commands

Module | RubiGen::Commands
In: | lib/rubigen/commands.rb

### Methods

included instance

### Classes and Modules

Class RubiGen::Commands::Base
Class RubiGen::Commands::Create
Class RubiGen::Commands::Destroy
Class RubiGen::Commands::List
Class RubiGen::Commands::RewindBase
Class RubiGen::Commands::Update

### Public Class methods

included(base)

Even more convenient access to commands. Include Commands in the generator Base class to get a nice command instance method which returns a delegate for the requested command.

instance(command, generator)

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.

[Validate]