Class: WickedPdfGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/wicked_pdf_generator.rb

Overview

Rails3 generator invoked with ‘rails generate wicked_pdf’

Instance Method Summary collapse

Instance Method Details

#copy_initializerObject



6
7
8
# File 'lib/generators/wicked_pdf_generator.rb', line 6

def copy_initializer
  copy_file 'wicked_pdf.rb', 'config/initializers/wicked_pdf.rb'
end