class Renogen::Formatters::PlainText
For formatting a change as plain text
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/plain_text.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/plain_text.rb, line 20 def write_group(group) "#{group}" 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/plain_text.rb, line 12 def write_header(header) "#{header}\n " end