module ArrayRefinements

Public Instance Methods

to_html() click to toggle source
# File lib/madman/refinements/array.rb, line 7
def to_html
  CommonMarker.render_html to_markdown, :DEFAULT, [:table]
end
to_markdown() click to toggle source
# File lib/madman/refinements/array.rb, line 3
def to_markdown
  map { |item| "- #{item}"}.join "\n"
end