import_formatter.rb 286 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 module Gitlab class ImportFormatter def comment(author, date, body) "\n\n*By #{author} on #{date}*\n\n#{body}" end def comments_header "\n\n\n**Imported comments:**\n" end def author_line(author) "*Created by: #{author}*\n\n" end end end