lib/elegant/document.rb in elegant-1.1.0 vs lib/elegant/document.rb in elegant-1.2.0

- old
+ new

@@ -14,11 +14,11 @@ # @option options [Hash] :header ({}) The options for the header. Accepted # values are :text (the title to write in the top-right corner) and :logo # (a Hash with a :url key with the location of the logo image and # optional :width and :height, which default to 50x50). # @option options [Hash] :footer ({}) The options for the footer. Accepted - # values are :text (the text in the bottom-center of the page) and :url - # (to make that text a link to a URL). + # values are :text (the text in the bottom-center of the page which may + # include a link which will be formatted inline). # @see http://www.rubydoc.info/gems/prawn/Prawn/Document def initialize(options = {}, &block) options = options.dup @header = Header.new self, options.delete(:header) {{}} @footer = Footer.new self, options.delete(:footer) {{}}