Tables in Prawn 0.8.4

11 views
Skip to first unread message

Cássio Marques

unread,
Apr 27, 2010, 8:04:01 AM4/27/10
to prawn...@googlegroups.com
Hi guys,

I'm using Prawn 0.8.4 as a gem. How do I create tables in this version?

With 0.7.x I simply used Prawn::Document#table, but is does not seem to exist anymore.

Thanks!

--
Cássio Marques

Blog: http://cassiomarques.wordpress.com

If you're writing code and you're not testing it, the code is wrong. I don't care if it does the right thing, and people need to understand this. If it works by accident, you're still wrong.
Bryan Liles - Ruby Hoedown 2008

Gregory Brown

unread,
Apr 27, 2010, 8:32:28 AM4/27/10
to prawn...@googlegroups.com
On 4/27/10 8:04 AM, Cássio Marques wrote:
> Hi guys,
>
> I'm using Prawn 0.8.4 as a gem. How do I create tables in this version?
>
> With 0.7.x I simply used Prawn::Document#table, but is does not seem to
> exist anymore.

Not the case. Check to make sure you have required "prawn/layout"

-greg


--
Subscription settings: http://groups.google.com/group/prawn-ruby/subscribe?hl=en
Reply all
Reply to author
Forward
0 new messages