Class: Vipergen::ViperThor
- Inherits:
-
Thor
- Object
- Thor
- Vipergen::ViperThor
- Defined in:
- lib/vipergen/viperthor.rb
Instance Method Summary collapse
Instance Method Details
#g(name) ⇒ Object
26 27 28 |
# File 'lib/vipergen/viperthor.rb', line 26 def g(name) Vipergen::Generator.generate_viper([:template], [:language], name, [:path], [:author], [:company], [:project], [:base]) end |
#generate(name) ⇒ Object
14 15 16 |
# File 'lib/vipergen/viperthor.rb', line 14 def generate(name) Vipergen::Generator.generate_viper([:template], [:language], name, [:path], [:author], [:company], [:project], [:base]) end |
#templates ⇒ Object
31 32 33 |
# File 'lib/vipergen/viperthor.rb', line 31 def templates() puts Vipergen::TemplateManager.templates_description() end |