class RSpec::Matchers::BuiltIn::Include

def matches?(actual)

Experimental RBS support (using type sampling data from the type_fusion project).

def matches?: (Array[Class] actual) -> true

This signature was generated using 4 samples from 1 application.

Returns:
  • (Boolean) -

Other tags:
    Api: - private
def matches?(actual)
  check_actual?(actual) &&
    if check_expected_count?
      expected_count_matches?(count_inclusions)
    else
      perform_match { |v| v }
    end
end