我对虾版本 0.12.0 有错误:
undefined method `border_lines=' for #<Prawn::Table::Cell::Text:0x007fe9454aaa70>
代码:
data = [
["ship date", "#{order.shipping_date}"],
["order #", "#{order.order_number}"]
]
table(data, :cell_style =>
{:border_lines => [:dotted, :dotted,:dotted,:dotted]}
)
参考手册。