Class RR::TimesCalledMatchers::IntegerMatcher
In: lib/rr/times_called_matchers/integer_matcher.rb
Parent: TimesCalledMatcher

Methods

Included Modules

Terminal

Public Instance methods

[Source]

    # File lib/rr/times_called_matchers/integer_matcher.rb, line 14
14:       def attempt?(times_called)
15:         times_called < @times
16:       end

[Source]

    # File lib/rr/times_called_matchers/integer_matcher.rb, line 10
10:       def matches?(times_called)
11:         times_called == @times
12:       end

[Source]

   # File lib/rr/times_called_matchers/integer_matcher.rb, line 6
6:       def possible_match?(times_called)
7:         times_called <= @times
8:       end

[Validate]