Class: VraptorScaffold::Runner::Generator
- Inherits:
-
Object
- Object
- VraptorScaffold::Runner::Generator
- Defined in:
- lib/vraptor-scaffold/runner/generator.rb
Instance Method Summary collapse
Instance Method Details
#run(args) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/vraptor-scaffold/runner/generator.rb', line 5 def run(args) project_path = args.shift if VraptorScaffold::Runner::Help.help? project_path AppGenerator.start(["-h"]) else AppGenerator.new(project_path, args).invoke_all end end |