class RuboCop::Cop::Lint::DuplicateBranch

def consider_branch?(branch)

def consider_branch?(branch)
  return false if ignore_literal_branches? && literal_branch?(branch)
  return false if ignore_constant_branches? && const_branch?(branch)
  true
end