# File lib/rspec/mocks/order_group.rb, line 25 def handle_order_constraint(expectation) return unless @ordering.include?(expectation) return consume if ready_for?(expectation) expectation.raise_out_of_order_error end