Class: PureMVCGen::Commands::NewCommand
- Inherits:
-
CmdParse::Command
- Object
- CmdParse::Command
- PureMVCGen::Commands::NewCommand
- Defined in:
- lib/pure_m_v_c_gen/commands/new_command.rb
Defined Under Namespace
Classes: CreateCommand, CreateMediator, CreateProxy
Instance Method Summary collapse
-
#initialize ⇒ NewCommand
constructor
A new instance of NewCommand.
Methods inherited from CmdParse::Command
Constructor Details
#initialize ⇒ NewCommand
Returns a new instance of NewCommand.
5 6 7 8 9 10 11 12 13 |
# File 'lib/pure_m_v_c_gen/commands/new_command.rb', line 5 def initialize super('new', true) self.short_desc = "Command to generate PureMVC classes" # add sub commands self.add_command(CreateCommand.new) self.add_command(CreateMediator.new) self.add_command(CreateProxy.new) end |