Sha256: a97183d59b50062b80ac4171b5a99fe4815981f4702829f4489649ef45da82fd
Contents?: true
Size: 332 Bytes
Versions: 19
Compression:
Stored size: 332 Bytes
Contents
module RR module TimesCalledMatchers class IntegerMatcher < TimesCalledMatcher include Terminal def possible_match?(times_called) times_called <= @times end def matches?(times_called) times_called == @times end def attempt?(times_called) times_called < @times end end end end
Version data entries
19 entries across 19 versions & 1 rubygems