Class: WickedPdfGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- WickedPdfGenerator
- 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_initializer ⇒ Object
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 |