Module: ViewComponent::AbstractGenerator

Instance Method Summary collapse

Instance Method Details

#copy_view_fileObject



5
6
7
# File 'lib/rails/generators/abstract_generator.rb', line 5

def copy_view_file
  template "component.html.#{engine_name}", destination unless options["inline"]
end