# File lib/spec/mocks/message_expectation.rb, line 261 def any_number_of_times(&block) @method_block = block if block @expected_received_count = :any self end