Sha256: 4360f5896ae319eb4fec516d7044d0b0d4808132ca25f25481d4eb99e1cefb7c
Contents?: true
Size: 631 Bytes
Versions: 19
Compression:
Stored size: 631 Bytes
Contents
module RR module TimesCalledMatchers # Including this module marks the TimesCalledMatcher as Terminal. # Being Terminal the Scenario will "terminate" when times called is # finite. # # The Scenario that uses a Terminal TimesCalledMatcher will # eventually be passed over to the next Scenario when passed # the matching arguments enough times. This is done by the attempt? # method returning false when executed a finite number of times. # # This is in opposition to NonTerminal TimesCalledMatchers, where # attempt? will always return true. module Terminal def terminal? true end end end end
Version data entries
19 entries across 19 versions & 1 rubygems