Class: WickedPdfGenerator

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

Overview

Rails generator invoked with ‘rails generate wicked_pdf’

Instance Method Summary collapse

Instance Method Details

#copy_initializerObject



4
5
6
# File 'lib/generators/wicked_pdf_generator.rb', line 4

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