Use "all? {not}" instead of "not any? {}"

Because the code checks all patterns are not instance_of? or kind_of?.