Class RR::TimesCalledMatchers::AnyTimesMatcher
In: lib/rr/times_called_matchers/any_times_matcher.rb
Parent: TimesCalledMatcher

Methods

Included Modules

NonTerminal

Public Class methods

[Source]

   # File lib/rr/times_called_matchers/any_times_matcher.rb, line 6
6:       def initialize
7:       end

Public Instance methods

[Source]

    # File lib/rr/times_called_matchers/any_times_matcher.rb, line 13
13:       def expected_times_message
14:         "any number of times"
15:       end

[Source]

    # File lib/rr/times_called_matchers/any_times_matcher.rb, line 9
 9:       def matches?(times_called)
10:         true
11:       end

[Validate]