class Cucumber::Core::Test::Case

def match_locations?(queried_locations)

def match_locations?(queried_locations)
  queried_locations.any? do |queried_location|
    matching_locations.any? do |location|
      queried_location.match? location
    end
  end
end