Class: JetstreamBridge::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- JetstreamBridge::Generators::InstallGenerator
- Defined in:
- lib/generators/jetstream_bridge/install/install_generator.rb
Overview
Install generator.
Instance Method Summary collapse
Instance Method Details
#create_initializer ⇒ Object
10 11 12 13 |
# File 'lib/generators/jetstream_bridge/install/install_generator.rb', line 10 def create_initializer Rails::Generators.invoke('jetstream_bridge:initializer', [], behavior: behavior, destination_root: destination_root) end |
#create_migrations ⇒ Object
15 16 17 18 |
# File 'lib/generators/jetstream_bridge/install/install_generator.rb', line 15 def create_migrations Rails::Generators.invoke('jetstream_bridge:migrations', [], behavior: behavior, destination_root: destination_root) end |