Sha256: ab0461255a8a6cc124fb03c8acd09d2e25c28d38597bfcaf594a7766e5623732
Contents?: true
Size: 564 Bytes
Versions: 10
Compression:
Stored size: 564 Bytes
Contents
require 'mocha/parameter_matchers/equals' require 'mocha/parameter_matchers/positional_or_keyword_hash' module Mocha module ParameterMatchers # @private module InstanceMethods # @private def to_matcher(_expectation = nil) Mocha::ParameterMatchers::Equals.new(self) end end end end # @private class Object include Mocha::ParameterMatchers::InstanceMethods end # @private class Hash # @private def to_matcher(expectation = nil) Mocha::ParameterMatchers::PositionalOrKeywordHash.new(self, expectation) end end
Version data entries
10 entries across 10 versions & 2 rubygems