Sha256: 5cecc4d71368e74277b00ba061abe33386e46ce1c7770e2be4ab357c85325071
Contents?: true
Size: 375 Bytes
Versions: 15
Compression:
Stored size: 375 Bytes
Contents
module WildcardMatchers module Helpers define_wildcard_helper(:for_any) class ForAny < ::WildcardMatchers::WildcardMatcher protected def wildcard_match(actual) unless actual.any? {|e| self.class.superclass.check_errors(e, expectation) == [] } errors.push("expect #{actual} has #{expectation}") end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems