Sha256: e700c2fe77b5de9fcd964784a2b84fa4b94fa8c033bf159e82e8389e059e90f4
Contents?: true
Size: 361 Bytes
Versions: 1
Compression:
Stored size: 361 Bytes
Contents
if defined?(Rails) && Rails::VERSION::MAJOR > 2 # Rails3 generator invoked with 'rails generate pdf' class PdfGenerator < Rails::Generators::Base source_root(File.expand_path(File.dirname(__FILE__) + "/../../generators/pdf/templates")) def copy_initializer copy_file 'configure_pdf.rb', 'config/initializers/configure_pdf.rb' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wisepdf-1.0.0 | lib/generators/pdf_generator.rb |