README.md in pdfkit-0.2.3 vs README.md in pdfkit-0.3.0

- old
+ new

@@ -23,10 +23,15 @@ # Git an inline PDF pdf = kit.to_pdf # Save the PDF to a file - File.open('/path/to/save/pdf','w') {|file| file << pdf} + file = kit.to_file('/path/to/save/pdf') + + # PDFKit.new can optionally accept a URL or a File. + # Stylesheets can not be added when source is provided as a URL of File. + kit = PDFKit.new('http://google.com') + kit = PDFKit.new(File.new('/path/to/html')) ## Middleware PDFKit comes with a middleware that allows users to visit any to get a PDF view of any page on your site by appending .pdf to the URL.