class RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher

@private

def ===(actual)

def ===(actual)
  actual = actual.uniq
  @expected.uniq.all? do |expected_element|
    actual.any? do |actual_element|
      RSpec::Support::FuzzyMatcher.values_match?(expected_element, actual_element)
    end
  end
rescue NoMethodError
  false
end

def description

def description
  "array_including(#{formatted_expected_values})"
end

def formatted_expected_values

def formatted_expected_values
  @expected.map do |x|
    RSpec::Support.rspec_description_for_object(x)
  end.join(", ")
end

def initialize(expected)

def initialize(expected)
  @expected = expected
end