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

can't get borders of a cell #242

Closed
ryanlion opened this issue Aug 31, 2016 · 2 comments
Closed

can't get borders of a cell #242

ryanlion opened this issue Aug 31, 2016 · 2 comments

Comments

@ryanlion
Copy link

when i call row.cells[0].border_bottom
[DEPRECATION] border_bottom is deprecated. Please use get_border instead.
nil

when i call row.cells[0].get_cell_border
*** NoMethodError Exception: private method `get_cell_border' called for #<RubyXL::Cell(0,0): "0", datatype = s, style_index = 0>

nil

@RKushnir
Copy link

Have you tried calling get_border as it suggests?

@weshatheleopard
Copy link
Owner

weshatheleopard commented Oct 5, 2016

> require 'rubyXL'
> doc=RubyXL::Parser.parse('test/input/test.xlsx')
> doc[7][0][0].get_border(:bottom)
 => "thin"

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