Sha256: 54bb9c479323768c9aadfcdad7c578ca1445e8ebb654423545306ddb5713ecc2
Contents?: true
Size: 406 Bytes
Versions: 31
Compression:
Stored size: 406 Bytes
Contents
module RR module TimesCalledMatchers #:nodoc: class NeverMatcher < TimesCalledMatcher include Terminal def initialize super 0 end def possible_match?(times_called) true end def matches?(times_called) true end def attempt?(times_called) raise RR::Errors::TimesCalledError, error_message(1) end end end end
Version data entries
31 entries across 27 versions & 5 rubygems