module T::CompatibilityPatches::RSpecCompatibility::MethodDoubleExtensions
def initialize(object, method_name, proxy)
def initialize(object, method_name, proxy) if ::Kernel.instance_method(:respond_to?).bind(object).call(method_name, true) # rubocop:disable Performance/BindCall method = ::RSpec::Support.method_handle_for(object, method_name) T::Private::Methods.maybe_run_sig_block_for_method(method) end super(object, method_name, proxy) end