Sha256: 4b89f3d3888c2e1907a4fcc3a883323f96b8b21f3caf96a79050de4acbe9f79c
Contents?: true
Size: 365 Bytes
Versions: 92
Compression:
Stored size: 365 Bytes
Contents
module RR module TimesCalledMatchers #:nodoc: 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
92 entries across 88 versions & 9 rubygems