class Pronto::Formatter::GitFormatter
def dedupe_comments(existing, comments)
def dedupe_comments(existing, comments) body = existing.map(&:body).join(' ') comments.reject { |comment| body.include?(comment.body) } end
def dedupe_comments(existing, comments) body = existing.map(&:body).join(' ') comments.reject { |comment| body.include?(comment.body) } end