lib/pdf_ravager/kernel.rb in pdf_ravager-0.1.0 vs lib/pdf_ravager/kernel.rb in pdf_ravager-0.2.0
- old
+ new
@@ -1,7 +1,8 @@
require 'pdf_ravager/template'
module Kernel
def pdf(*args, &blk)
+ warn "[DEPRECATION] Please use `PDFRavager::Template.new` instead of `pdf`"
PDFRavager::Template.new(*args, &blk)
end
end