format_comment(mark, comment)private
No documentation available.
# File lib/rdoc/generator/pot/po_entry.rb, line 71
def format_comment mark, comment
return '' unless comment
return '' if comment.empty?
formatted_comment = ''
comment.each_line do |line|
formatted_comment << "#{mark} #{line}"
end
formatted_comment << "\n" unless formatted_comment.end_with?("\n")
formatted_comment
end