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
14 15 16 |
# File 'lib/vipergen/viperthor.rb', line 14 def generate(name) Vipergen::Generator.generate_viper([:template], [:language], name, [:path], [:author], [:project], [:company], [:swift_module]) end |
#templates ⇒ Object
19 20 21 |
# File 'lib/vipergen/viperthor.rb', line 19 def templates() puts Vipergen::TemplateManager.templates_description() end |