class PDF::SimpleTable::Column

Defines formatting options for a column.

Attributes

heading[RW]

The heading of the column. This should be an instance of PDF::SimpleTable::Column::Heading. If it is not, it will be converted into one.

justification[RW]

The justification of the column. May be :left, :right, :center, or :full.

name[R]

The name of the column.

width[RW]

The width of the column. If this value is set, the column will be exactly this number of units wide.

Public Class Methods

new(name) { |self| ... } click to toggle source
   # File lib/pdf/simpletable.rb
23 def initialize(name)
24   @name = name
25 
26   yield self if block_given?
27 end