Class: Slim::Generators::ComponentGenerator
- Inherits:
-
Erb::Generators::ComponentGenerator
- Object
- Base
- Erb::Generators::ComponentGenerator
- Slim::Generators::ComponentGenerator
- Includes:
- ViewComponent::AbstractGenerator
- Defined in:
- lib/rails/generators/slim/component_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_view_file ⇒ Object
17 18 19 |
# File 'lib/rails/generators/slim/component_generator.rb', line 17 def copy_view_file super end |
#engine_name ⇒ Object
13 14 15 |
# File 'lib/rails/generators/slim/component_generator.rb', line 13 def engine_name "slim" end |