class RuboCop::Cop::Style::InvertibleUnlessCondition
def inheritance_check?(node)
def inheritance_check?(node) argument = node.first_argument node.method?(:<) && argument.const_type? && argument.short_name.to_s.upcase != argument.short_name.to_s end