Rails::Generators::Base
# File lib/generators/bootstrap/partial/partial_generator.rb, line 13 def generate_partial app = ::Rails.application ext = app.config.generators.options[:rails][:template_engine] || :erb copy_file "_#{component_name}.html.#{ext}", "app/views/shared/_#{component_name}.html.#{ext}" end
Generated with the Darkfish Rdoc Generator 2.