Class: Erb::Generators::ComponentGenerator

Inherits:
Base
  • Object
show all
Includes:
ViewComponent::AbstractGenerator
Defined in:
lib/rails/generators/erb/component_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_view_fileObject



20
21
22
# File 'lib/rails/generators/erb/component_generator.rb', line 20

def copy_view_file
  super
end

#engine_nameObject



16
17
18
# File 'lib/rails/generators/erb/component_generator.rb', line 16

def engine_name
  "erb"
end