class RSpec::Core::InclusionRules

def partition_locations

def partition_locations
  locations = @rules.fetch(:locations) { Hash.new([]) }
  other_inclusions = self.class.new(@rules.dup.tap { |r| r.delete(:locations) })
  return locations, other_inclusions
end