BigW Consortium Gitlab

import_formatter.rb 286 Bytes
Newer Older
1 2
module Gitlab
  class ImportFormatter
Douwe Maan committed
3
    def comment(author, date, body)
4 5 6 7 8 9 10
      "\n\n*By #{author} on #{date}*\n\n#{body}"
    end

    def comments_header
      "\n\n\n**Imported comments:**\n"
    end

11 12
    def author_line(author)
      "*Created by: #{author}*\n\n"
13 14
    end
  end
Valery Sizov committed
15
end