Class: PureMVCGen::Commands::InitializeCommand
- Inherits:
-
CmdParse::Command
- Object
- CmdParse::Command
- PureMVCGen::Commands::InitializeCommand
- Defined in:
- lib/pure_m_v_c_gen/commands/initialize_command.rb
Instance Method Summary collapse
- #execute(args) ⇒ Object
-
#initialize ⇒ InitializeCommand
constructor
A new instance of InitializeCommand.
Methods inherited from CmdParse::Command
Constructor Details
#initialize ⇒ InitializeCommand
Returns a new instance of InitializeCommand.
5 6 7 8 |
# File 'lib/pure_m_v_c_gen/commands/initialize_command.rb', line 5 def initialize super('init', false) self.short_desc = "Initializes the current working directory with a new PureMVC project" end |
Instance Method Details
#execute(args) ⇒ Object
10 11 12 |
# File 'lib/pure_m_v_c_gen/commands/initialize_command.rb', line 10 def execute(args) call_ant "new-pmvc" end |