Method: RR::TimesCalledMatchers::IntegerMatcher#possible_match?

Defined in:
lib/rr/times_called_matchers/integer_matcher.rb

#possible_match?(times_called) ⇒ Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/rr/times_called_matchers/integer_matcher.rb', line 6

def possible_match?(times_called)
  times_called <= @times
end