Skip to content
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

set(:bg_color: 0xff0000) does not work #6

Closed
davidw opened this issue Jul 14, 2017 · 2 comments
Closed

set(:bg_color: 0xff0000) does not work #6

davidw opened this issue Jul 14, 2017 · 2 comments

Comments

@davidw
Copy link

davidw commented Jul 14, 2017

This does not work:
header_format.set(bg_color: 0xff0000)
It neither sets the color, nor fails with an error.
Naturally, this works ok, but it's convenient to set a lot of things at once:
header_format.set_bg_color(0xff0000)

@AlexWayfer
Copy link
Contributor

Just a remark: bg_collor=() is better, than set_bg_color().

@Paxa
Copy link
Owner

Paxa commented Jul 16, 2017

Thanks for noticing, fixed

https://github.com/Paxa/fast_excel/blob/master/examples/example_colors.rb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants