module Enumerable
Extend Enumberable classes with a to_markdown_table
method
Public Instance Methods
to_markdown_table(options = {})
click to toggle source
# File lib/github_issue_stats.rb, line 25 def to_markdown_table(options = {}) table = Text::Table.new :rows => self.to_a.dup table.head = table.rows.shift table.to_markdown end