Sha256: c72f4fa5725aff916e37e09cf072d59428539c997bfcdf7b0a5b8d16498d0615
Contents?: true
Size: 420 Bytes
Versions: 22
Compression:
Stored size: 420 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.build_error(:TimesCalledError, error_message(1)) end end end end
Version data entries
22 entries across 22 versions & 1 rubygems