Included Modules

Class Index [+]

Quicksearch

RR::TimesCalledMatchers::NeverMatcher

Public Class Methods

new() click to toggle source
   # File lib/rr/times_called_matchers/never_matcher.rb, line 6
6:       def initialize
7:         super 0
8:       end

Public Instance Methods

attempt?(times_called) click to toggle source
    # File lib/rr/times_called_matchers/never_matcher.rb, line 18
18:       def attempt?(times_called)
19:         raise RR::Errors::TimesCalledError, error_message(1)
20:       end
matches?(times_called) click to toggle source
    # File lib/rr/times_called_matchers/never_matcher.rb, line 14
14:       def matches?(times_called)
15:         true
16:       end
possible_match?(times_called) click to toggle source
    # File lib/rr/times_called_matchers/never_matcher.rb, line 10
10:       def possible_match?(times_called)
11:         true
12:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.