Class: Hatate::AppGenerator
- Inherits:
-
Rails::Generators::AppGenerator
- Object
- Rails::Generators::AppGenerator
- Hatate::AppGenerator
- Defined in:
- lib/hatate/app_generator.rb
Instance Method Summary collapse
- #finish_template ⇒ Object
-
#initialize(*args) ⇒ AppGenerator
constructor
A new instance of AppGenerator.
Constructor Details
#initialize(*args) ⇒ AppGenerator
Returns a new instance of AppGenerator.
3 4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/hatate/app_generator.rb', line 3 def initialize(*args) super self. = .merge( database: "postgresql", css: "tailwind", asset_pipeline: "propshaft", skip_test: true, skip_jbuilder: true, skip_bundle: true ).freeze end |
Instance Method Details
#finish_template ⇒ Object
16 17 18 19 20 21 22 23 24 |
# File 'lib/hatate/app_generator.rb', line 16 def finish_template build :ruby_version build :dependencies build :database_config build :test_helpers build :github_actions super end |