Created
April 18, 2016 12:25
-
-
Save Florent2/57f7fdde07871fa9b9f6ba2087804b30 to your computer and use it in GitHub Desktop.
Generate second line for GFM tables (https://guides.github.com/features/mastering-markdown/)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
puts header_strings.split(" | ").map { |word| "-" * word.size }.join " | " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment