Class: RR::TimesCalledMatchers::AtLeastMatcher
- Inherits:
-
TimesCalledMatcher
- Object
- TimesCalledMatcher
- RR::TimesCalledMatchers::AtLeastMatcher
- Includes:
- NonTerminal
- Defined in:
- lib/rr/times_called_matchers/at_least_matcher.rb
Instance Attribute Summary
Attributes inherited from TimesCalledMatcher
Instance Method Summary collapse
Methods included from NonTerminal
#attempt?, #possible_match?, #terminal?
Methods inherited from TimesCalledMatcher
#==, #attempt?, create, #error_message, #initialize
Constructor Details
This class inherits a constructor from RR::TimesCalledMatchers::TimesCalledMatcher
Instance Method Details
#matches?(times_called) ⇒ Boolean
6 7 8 |
# File 'lib/rr/times_called_matchers/at_least_matcher.rb', line 6 def matches?(times_called) times_called >= @times end |