class Renogen::Formatters::Markdown
For formatting a change into markdown format
Public Instance Methods
write_change(change)
click to toggle source
Outputs a line or block as the body for a change.
@param change [String] @return [String]
# File lib/renogen/formatters/markdown.rb, line 28 def write_change(change) "* #{change}" end
write_group(group)
click to toggle source
Outputs a line or block as a header for a group.
@param group [String] @return [String]
# File lib/renogen/formatters/markdown.rb, line 20 def write_group(group) "## #{group}\n\n" end
write_header(header)
click to toggle source
Outputs a line or block of text appearing at the top of the change log.
@param header [String] @return [String]
# File lib/renogen/formatters/markdown.rb, line 12 def write_header(header) "# #{header}\n\n" end