Sha256: 2029ed1ed634e315b9addeacae3c0219157f0e911229e82d23a120a04d87b7f2

Contents?: true

Size: 506 Bytes

Versions: 2

Compression:

Stored size: 506 Bytes

Contents

# encoding: utf-8
#
# Low level cell and row implementation, which form the basic building
# blocks for Prawn tables.  Only necessary to know about if you plan on
# building your own table implementation from scratch or heavily modify
# the existing table system.
#
require File.expand_path(File.join(File.dirname(__FILE__),
                                   %w[.. example_helper]))

Prawn::Document.generate("cell.pdf") do 
  cell :content => "test", :padding => 10, :font_style => :bold, :size => 7
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
prawn-0.11.1 examples/table/cell.rb
davebenvenuti-prawn-0.11.1.pre examples/table/cell.rb