Class: Sincli::Generator
- Inherits:
-
Thor
- Object
- Thor
- Sincli::Generator
- Defined in:
- lib/sincli/generator.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
3 4 5 |
# File 'lib/sincli/generator.rb', line 3 def self.exit_on_failure? true end |
Instance Method Details
#new(app_name) ⇒ Object
14 15 16 |
# File 'lib/sincli/generator.rb', line 14 def new(app_name) Generators::Application.new(app_name, .dup).create end |