class Mocha::ParameterMatchers::PositionalOrKeywordHash
def matches?(available_parameters)
def matches?(available_parameters) parameter, is_last_parameter = extract_parameter(available_parameters) return false unless HasEntries.new(@value, exact: true).matches?([parameter]) if is_last_parameter && !same_type_of_hash?(parameter, @value) return false if Mocha.configuration.strict_keyword_argument_matching? deprecation_warning(parameter, @value) if Mocha::RUBY_V27_PLUS end true end