Sha256: a3ec8e1fbf09288eca72657430b730c3dd16d6cd7b09421bb1e1228e0e8ff9cd
Contents?: true
Size: 499 Bytes
Versions: 12
Compression:
Stored size: 499 Bytes
Contents
class PapermillInitializerGenerator < Rails::Generator::Base def initialize(args, options = {}) end def manifest puts "Copying papermill initializer to config/initializers/..." FileUtils.rm_rf("#{RAILS_ROOT}/config/initializers/papermill.rb") FileUtils.cp_r( File.join(File.dirname(__FILE__), 'papermill_initializer.rb'), "#{RAILS_ROOT}/config/initializers/papermill.rb" ) puts "Done! Check config/initializer/papermill.rb for result." exit end end
Version data entries
12 entries across 12 versions & 1 rubygems