# File lib/backports/2.5.0/enumerable/all.rb, line 6
    def all_with_pattern?(pattern = Backports::Undefined, &block)
      return all_without_pattern?(&block) if Backports::Undefined == pattern
      each_entry { |x| return false unless pattern === x }
      true
    end