Class RubiGen::Scripts::Base
In: lib/rubigen/scripts.rb
Parent: Object

Generator scripts handle command-line invocation. Each script responds to an invoke! class method which handles option parsing and generator invocation.

Methods

banner   run   usage_message  

Included Modules

Options

Attributes

stdout  [R] 

Public Instance methods

Run the generator script. Takes an array of unparsed arguments and a hash of parsed arguments, takes the generator as an option or first remaining argument, and invokes the requested command.

Protected Instance methods

Override with your own script usage banner.

[Validate]