Object
Base class for all the count validators.
# File lib/flexmock/validators.rb, line 20 20: def initialize(expectation, limit) 21: @exp = expectation 22: @limit = limit 23: end
If the expectation has been called n times, is it still eligible to be called again? The default answer compares n to the established limit.
# File lib/flexmock/validators.rb, line 28 28: def eligible?(n) 29: n < @limit 30: end
Disabled; run with --debug to generate this.
[Validate]
Generated with the Darkfish Rdoc Generator 1.1.6.