Class: Venom::Generator
- Inherits:
-
Thor
- Object
- Thor
- Venom::Generator
- Defined in:
- lib/venom/generator.rb
Instance Method Summary collapse
Instance Method Details
#workshop(name) ⇒ Object
11 12 13 14 15 16 17 18 |
# File 'lib/venom/generator.rb', line 11 def workshop(name) puts "Name of workshop: #{name}" driver = [:driver].nil? ? 'symbiont' : [:driver] library = [:library] == true ? 'true' : 'false' restart = [:restart] == true ? 'true' : 'false' Venom::Generators::Workshop.start([name, driver, library, restart]) end |