Class: Generators::Avo::Js::InstallGenerator
- Inherits:
-
BaseGenerator
- Object
- Rails::Generators::Base
- BaseGenerator
- Generators::Avo::Js::InstallGenerator
- Defined in:
- lib/generators/avo/js/install_generator.rb
Instance Method Summary collapse
Methods inherited from BaseGenerator
Constructor Details
This class inherits a constructor from Generators::Avo::BaseGenerator
Instance Method Details
#create_files ⇒ Object
15 16 17 18 19 20 21 22 23 24 |
# File 'lib/generators/avo/js/install_generator.rb', line 15 def create_files case [:bundler].to_s when "importmap" install_for_importmap when "esbuild" install_for_esbuild else say "We don't know how to install Avo JS for this bundler \"#{[:bundler]}\"" end end |