Sha256: 8e221c8bb36d6fda44f12824cb2e0467136b9b3d84ddff7d7b0219de3aa46e24

Contents?: true

Size: 252 Bytes

Versions: 10

Compression:

Stored size: 252 Bytes

Contents

# encoding: utf-8
#
require "#{File.dirname(__FILE__)}/../example_helper.rb"
 
Prawn::Document.generate("subtable.pdf") do |pdf|
  
  subtable = Prawn::Table.new([%w[one two], %w[three four]], pdf)

  pdf.table([["Subtable ->", subtable, "<-"]])

end

Version data entries

10 entries across 10 versions & 4 rubygems

Version Path
piglop-prawn-0.10.2.3 examples/table/subtable.rb
piglop-prawn-0.10.2.2 examples/table/subtable.rb
piglop-prawn-0.10.2.1 examples/table/subtable.rb
prawn-0.11.1.pre examples/table/subtable.rb
goodwill-prawn-edge-0.10.0 examples/table/subtable.rb
alphasights-prawn-0.10.4 examples/table/subtable.rb
alphasights-prawn-0.10.3 examples/table/subtable.rb
alphasights-prawn-0.10.2 examples/table/subtable.rb
alphasights-prawn-0.10.1 examples/table/subtable.rb
alphasights-prawn-0.10.0 examples/table/subtable.rb