class Danger::RequestSources::GitHubSource::ReviewResolver

Public Class Methods

same_body?(body1, body2) click to toggle source
# File lib/danger/request_sources/github/github_review_resolver.rb, line 11
def self.same_body?(body1, body2)
  return !body1.nil? && !body2.nil? && body1 == body2
end
should_submit?(review, body) click to toggle source
# File lib/danger/request_sources/github/github_review_resolver.rb, line 7
def self.should_submit?(review, body)
  return !same_body?(body, review.body)
end