class RSpec::Mocks::OrderGroup
def consume
- Private: -
def consume remaining_expectations.each_with_index do |expectation, index| if expectation.ordered? @index += index + 1 return expectation end end nil end
def consume remaining_expectations.each_with_index do |expectation, index| if expectation.ordered? @index += index + 1 return expectation end end nil end