class ActiveSupport::Testing::SimpleStubs

def unstub_all!

Experimental RBS support (using type sampling data from the type_fusion project).

def unstub_all!: () -> Concurrent::Map

This signature was generated using 5 samples from 1 application.

Remove all object-method stubs held by this instance
def unstub_all!
  @stubs.each_value do |object_stubs|
    object_stubs.each_value do |stub|
      unstub_object(stub)
    end
  end
  @stubs.clear
end