Class: Jdt::GeneratorCLI
- Inherits:
-
Thor
- Object
- Thor
- Jdt::GeneratorCLI
- Defined in:
- lib/jdt/commands/new.rb
Instance Method Summary collapse
- #component(name) ⇒ Object
- #language(name) ⇒ Object
- #library(name) ⇒ Object
- #module(name) ⇒ Object
- #plugin(name) ⇒ Object
- #template(name) ⇒ Object
Instance Method Details
#component(name) ⇒ Object
11 12 13 |
# File 'lib/jdt/commands/new.rb', line 11 def component(name) ComponentGenerator.new.generate(name) end |
#language(name) ⇒ Object
29 30 31 |
# File 'lib/jdt/commands/new.rb', line 29 def language(name) LanguageGenerator.new.generate(name) end |
#library(name) ⇒ Object
41 42 43 |
# File 'lib/jdt/commands/new.rb', line 41 def library(name) LibraryGenerator.new.generate(name) end |
#module(name) ⇒ Object
17 18 19 |
# File 'lib/jdt/commands/new.rb', line 17 def module(name) ModuleGenerator.new.generate(name) end |
#plugin(name) ⇒ Object
23 24 25 |
# File 'lib/jdt/commands/new.rb', line 23 def plugin(name) PluginGenerator.new.generate(name) end |
#template(name) ⇒ Object
35 36 37 |
# File 'lib/jdt/commands/new.rb', line 35 def template(name) TemplateGenerator.new.generate(name) end |