Sha256: 7a8dd53afcfbaf189f3c41eaa69d7b9643bfa7766f15e0bbfcb93eaad6772580
Contents?: true
Size: 362 Bytes
Versions: 22
Compression:
Stored size: 362 Bytes
Contents
class PapermillAssetsGenerator < Rails::Generator::Base def initialize(args, options = {}) end def manifest puts "Copying papermill assets to your public directory..." FileUtils.cp_r( Dir[File.join(File.dirname(__FILE__), '../../public')], File.join(RAILS_ROOT) ) puts "Done! Check public/ for result." exit end end
Version data entries
22 entries across 22 versions & 1 rubygems