Sha256: 1e3290abae1b565534c5b25cbe90d4b61b11877c5a1d28d9e0e7e987c401d46f
Contents?: true
Size: 318 Bytes
Versions: 7
Compression:
Stored size: 318 Bytes
Contents
module WildcardMatchers module Matchers define_wildcard_matcher(:bag_of) class BagOf < ::WildcardMatchers::WildcardMatcher protected def wildcard_match(actual) errors.push(*WildcardMatchers::ArrayMatcher.check_errors(actual.sort, expectation.sort, position)) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems