mileszs/wicked_pdf — pull request #74 by calebthompson (2012-01-10 16:46:38+00:00)
Title: Error: undefined method `blank?' for {:header=>nil, :footer=>nil, :layout=>nil}:Hash when not using Rails

lib/wicked_pdf.rb:81 was causing an error because blank? is not a method on ruby's Hash.

This solves that for people who aren't using wicked_pdf as part of a rails project.

I realize that the plugin specifically states that it is for Rails, but this is a fairly minor change to allow it to work with just ActiveSupport.