Module: ViewComponent::AbstractGenerator

Instance Method Summary collapse

Instance Method Details

#copy_view_fileObject



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

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