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
10 11 12 |
# File 'lib/vipergen/viperthor.rb', line 10 def generate(name) Vipergen::Generator.generate_viper([:template], [:language], name, [:path]) end |
#templates ⇒ Object
15 16 17 |
# File 'lib/vipergen/viperthor.rb', line 15 def templates() puts Vipergen::TemplateManager.templates_description() end |