Sha256: b607b063ab64be004eec9fb058acdf2c52ad50049af6fe7bd9562455df1d6fbd
Contents?: true
Size: 360 Bytes
Versions: 15
Compression:
Stored size: 360 Bytes
Contents
module WildcardMatchers module Helpers define_wildcard_helper(:for_all) class ForAll < ::WildcardMatchers::WildcardMatcher protected def wildcard_match(actual) actual.each.with_index do |e, i| errors.push(*self.class.superclass.check_errors(e, expectation, position + "[#{i}]")) end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems