Included Modules

Class Index [+]

Quicksearch

RR::TimesCalledMatchers::AtMostMatcher

Public Instance Methods

attempt?(times_called) click to toggle source
    # File lib/rr/times_called_matchers/at_most_matcher.rb, line 14
14:       def attempt?(times_called)
15:         times_called < @times
16:       end
expected_times_message() click to toggle source
    # File lib/rr/times_called_matchers/at_most_matcher.rb, line 18
18:       def expected_times_message
19:         "at most #{@times.inspect} times"
20:       end
matches?(times_called) click to toggle source
    # File lib/rr/times_called_matchers/at_most_matcher.rb, line 10
10:       def matches?(times_called)
11:         times_called <= @times
12:       end
possible_match?(times_called) click to toggle source
   # File lib/rr/times_called_matchers/at_most_matcher.rb, line 6
6:       def possible_match?(times_called)
7:         times_called <= @times
8:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.