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

[Feature Request] border_left and border_right style #100

Closed
simonovich opened this issue Jul 24, 2018 · 1 comment
Closed

[Feature Request] border_left and border_right style #100

simonovich opened this issue Jul 24, 2018 · 1 comment

Comments

@simonovich
Copy link

Could you add the possibility of disabling the left and right borders of the table?

For example:

table = Terminal::Table.new do |t|
  t.headings = ['id', 'name']
  t.rows = [[1, 'One'], [2, 'Two'], [3, 'Three']]
  t.style = { :border_left => false, :border_top => false, :border_bottom => false }
end
# > puts table
#  id | name  |
# ----+-------+
#  1  | One   |
#  2  | Two   |
#  3  | Three |
@nanobowers
Copy link
Contributor

@nateberkopec I think this can be closed - fixed as part of #113

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