Method: RR::TimesCalledMatchers::IntegerMatcher#attempt?

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

#attempt?(times_called) ⇒ Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/rr/times_called_matchers/integer_matcher.rb', line 14

def attempt?(times_called)
  times_called < @times
end