Class: Vipergen::ViperThor
- Inherits:
-
Thor
- Object
- Thor
- Vipergen::ViperThor
- Defined in:
- lib/vipergen/viperthor.rb
Instance Method Summary collapse
Instance Method Details
#generate(name) ⇒ Object
12 13 14 |
# File 'lib/vipergen/viperthor.rb', line 12 def generate(name) Vipergen::Generator.generate_viper([:template], [:language], name, [:path], [:author], [:company]) end |
#templates ⇒ Object
17 18 19 |
# File 'lib/vipergen/viperthor.rb', line 17 def templates() puts Vipergen::TemplateManager.templates_description() end |