class RR::TimesCalledMatchers::AnyTimesMatcher

Public Class Methods

new() click to toggle source
# File lib/rr/times_called_matchers/any_times_matcher.rb, line 6
def initialize
end

Public Instance Methods

expected_times_message() click to toggle source
# File lib/rr/times_called_matchers/any_times_matcher.rb, line 13
def expected_times_message
  "any number of times"
end
matches?(times_called) click to toggle source
# File lib/rr/times_called_matchers/any_times_matcher.rb, line 9
def matches?(times_called)
  true
end