Class: TailwindTheme::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- TailwindTheme::Generators::InstallGenerator
- Defined in:
- lib/generators/tailwind_theme/install/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_alternative_theme ⇒ Object
19 20 21 22 |
# File 'lib/generators/tailwind_theme/install/install_generator.rb', line 19 def copy_alternative_theme @theme_name = "alternative" template "theme.yml", "config/themes/alternative.yml#{".erb" if !![:erb]}" end |
#copy_default_theme ⇒ Object
14 15 16 17 |
# File 'lib/generators/tailwind_theme/install/install_generator.rb', line 14 def copy_default_theme @theme_name = "default" template "theme.yml", "config/theme.yml#{".erb" if !![:erb]}" end |