Sha256: 754e1e36acd398e01e5a6e202cea022bf378e1d2e3647d6472ccbd26bd63b289
Contents?: true
Size: 633 Bytes
Versions: 2
Compression:
Stored size: 633 Bytes
Contents
# frozen_string_literal: true # Examples for using grid layouts. require_relative '../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 <<-TEXT Prawn has support for two-dimensional grid based layouts out of the box. The examples show: TEXT 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.4.0 | manual/layout/layout.rb |
prawn-2.3.0 | manual/layout/layout.rb |