-
Notifications
You must be signed in to change notification settings - Fork 691
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
colspan #335
Comments
Someone else will look into your main issue, but... >> {content: "blah", colspan:2}
=> {:content=>"blah", :colspan=>2}
>> RUBY_VERSION
=> "1.9.3" |
As @sandal mentioned, that's perfectly valid Ruby 1.9 hash syntax. As for your colspan issue, colspan wasn't added on master until after 1.0.0.rc1. You can use Bundler to depend on the git version of Prawn if you want colspan support. -be |
Thanks. I will pull the latest version. |
e: nvm I'm dumb. (server restart, durrrr) |
How about releasing a new RC so we don't have to rely on pointing to git for the gem (and I would hope a new RC which includes colspan would be more on track with what you hope to release for 1.0). |
Another vote for a new gem release... |
+1 for the gem :) |
+1 |
+1 |
1 similar comment
+1 |
+1 👍 |
+1 |
2 similar comments
+1 |
+1 |
This feature exists in prawn-table, and in the 1.x versions of Prawn before we extracted the gem. |
I've looked all over and am having trouble using :colspan. I've got the 1.0 RC and I keep getting...
NoMethodError (undefined method `colspan=' for #Prawn::Table::Cell::Text:0x109a1e0a0)
I've been trying to use it like in the documentation...
table = [
[{:content => "blah", :colspan => 2}],
["col1", "col2"]
]
I'm obviously doing something wrong. I've also checked the current issues and I see it implemented like...
table = [
[{content: "blah", colspan:2}],
]
...but that obviously is syntactally wrong.
So confused!
Thanks,
Chris
The text was updated successfully, but these errors were encountered: