Class: SimpleForm::Tailwind::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- SimpleForm::Tailwind::Generators::InstallGenerator
- Defined in:
- lib/generators/simple_form/tailwind/install_generator.rb
Overview
:nodoc:
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.default_generator_root ⇒ Object
8 9 10 |
# File 'lib/generators/simple_form/tailwind/install_generator.rb', line 8 def self.default_generator_root File.dirname(__FILE__) end |
Instance Method Details
#copy_initializer ⇒ Object
12 13 14 |
# File 'lib/generators/simple_form/tailwind/install_generator.rb', line 12 def copy_initializer copy_file "simple_form.rb", "config/initializers/simple_form.rb" end |