File: table.rb

package info (click to toggle)
ruby-prawn 2.2.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,320 kB
  • sloc: ruby: 15,654; sh: 43; makefile: 20
file content (14 lines) | stat: -rw-r--r-- 381 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require_relative 'example_helper'

filename = File.basename(__FILE__).gsub('.rb', '.pdf')

Prawn::ManualBuilder::Example.generate(filename) do
  header('Prawn::Table')

  prose <<-END_TEXT
    As of Prawn 1.2.0, Prawn::Table has been extracted into its own
    semi-officially supported gem.

    Please see https://github.com/prawnpdf/prawn-table for more details.
  END_TEXT
end