Sha256: 434b5048b82792316e4933324a9ecf5ec74e0cad922229548390980323174a80
Contents?: true
Size: 551 Bytes
Versions: 2
Compression:
Stored size: 551 Bytes
Contents
# encoding: utf-8 # require File.expand_path(File.join(File.dirname(__FILE__), %w[.. example_helper])) Prawn::Document.generate("widths.pdf") do text "Some 300-pt tables:" table([%w[A B C]], :width => 300) move_down 12 table([%w[A B C], %w[D Everything\ under\ the\ sun F]], :width => 300) move_down 12 # TODO: what should this be doing? Like the current prawn-layout, it does # not attempt to reflow the second column. # table([["A", "Blah " * 20, "C"]], :width => 300) # move_down 12 end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
prawn-0.11.1 | examples/table/widths.rb |
davebenvenuti-prawn-0.11.1.pre | examples/table/widths.rb |