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.
link_name[RW]
The data name that will be used to provide a hyperlink for values in this column.
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, line 22 def initialize(name) @name = name yield self if block_given? end