module MiniTest::Assertions::BaseAssertRequiredParameter::Internals
Methods that neither affect nor are affected by instance state.
Public Class Methods
hash_without_key(hash, key)
click to toggle source
# File lib/prolog_minitest_matchers/matchers/asserters/base_assert_required_parameter.rb, line 43 def self.hash_without_key(hash, key) VerifyKeyInHash.call hash, key hash.reject { |source_key, _| source_key == key } end