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

Add support for 'header_separator' option for Style #125

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jimhranicky
Copy link

  • modified: lib/terminal-table/style.rb
    • add support for the header_separator option
      • true => print a separator between the header and the first row
      • false => do not print the separator
  • modified: lib/terminal-table/table.rb
    • add support for the header_separator option for the style object
    • default to true unless user specifies it to be false

    - add support for the header_separator option
        o true  => print a separator between the header and the first row
        o false => do not print the separator
modified:   lib/terminal-table/table.rb
    - add support for the header_separator option for the style object
    - default to true unless user specifies it to be false
@nanobowers
Copy link
Contributor

@jimhranicky Couldn't you get the same output if you just put the header data as the first row and used a headerless table?

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

Successfully merging this pull request may close these issues.

2 participants