class Prawn::Table

def style(stylable, style_hash={}, &block)


end
column(0).style { |c| c.border_width += 1 }
row(0).style :background_color => 'ff00ff'
pdf.table(data) do

is equivalent to:

end
style(column(0)) { |c| c.border_width += 1 }
style(row(0), :background_color => 'ff00ff')
pdf.table(data) do

prefer to the attribute-based syntax. This code using style:
Allows generic stylable content. This is an alternate syntax that some
def style(stylable, style_hash={}, &block)
  stylable.style(style_hash, &block)
end