我试图在右侧放置一张桌子但得到
undefined method 'position='
这是我的示例代码:
table data , position: :right do
rows(0).font_style = :bold
cells.style :align => :right
cells.borders = []
end
但根据对虾文档 http://prawn.majesticseaacreature.com/manual.pdf 上面的代码应该运行。哪里有问题?