Sha256: 93235299076fa448b7056e5af0c7def3ab9db57a723a1848c9b9360777f48151
Contents?: true
Size: 381 Bytes
Versions: 11
Compression:
Stored size: 381 Bytes
Contents
module WildcardMatchers module Helpers define_wildcard_helper(:responding) class Responding < ::WildcardMatchers::WildcardMatcher protected def wildcard_match(actual) expectation.each do |key, value| errors.push(*self.class.superclass.check_errors(actual.__send__(key), value, position + ".#{key}")) end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems