Class: Erb::Generators::ComponentGenerator
- Inherits:
-
Base
- Object
- Base
- Erb::Generators::ComponentGenerator
- Includes:
- ViewComponent::AbstractGenerator
- Defined in:
- lib/rails/generators/erb/component_generator.rb
Direct Known Subclasses
Haml::Generators::ComponentGenerator, Slim::Generators::ComponentGenerator, Tailwindcss::Generators::ComponentGenerator
Instance Method Summary collapse
Instance Method Details
#copy_view_file ⇒ Object
20 21 22 |
# File 'lib/rails/generators/erb/component_generator.rb', line 20 def copy_view_file super end |
#engine_name ⇒ Object
16 17 18 |
# File 'lib/rails/generators/erb/component_generator.rb', line 16 def engine_name "erb" end |