# File lib/rspec/mocks/any_instance.rb, line 124 def stop_all_observation! @observed_methods.each do |method_name| restore_method!(method_name) end end