Sha256: 38062a599fd24651a134cbc392270b518e1c2321f03e94b350ecbfdf4b04c1a7
Contents?: true
Size: 685 Bytes
Versions: 2
Compression:
Stored size: 685 Bytes
Contents
# encoding: utf-8 # # Examples for using grid layouts. # require File.expand_path(File.join(File.dirname(__FILE__), %w[.. example_helper])) Prawn::ManualBuilder::Example.generate("layout.pdf", :page_size => "FOLIO") do package "layout" do |p| p.example "simple_grid" p.example "boxes" p.example "content" p.intro do prose("Prawn has support for two-dimensional grid based layouts out of the box. The examples show:") list( "How to define the document grid", "How to configure the grid rows and columns gutters", "How to create boxes according to the grid" ) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
prawn-2.1.0 | manual/layout/layout.rb |
prawn-2.0.2 | manual/layout/layout.rb |