module T::CompatibilityPatches::RSpecCompatibility::MethodDoubleExtensions
Public Class Methods
new(object, method_name, proxy)
click to toggle source
Calls superclass method
# File lib/types/compatibility_patches.rb, line 38 def initialize(object, method_name, proxy) if ::Kernel.instance_method(:respond_to?).bind(object).call(method_name, true) 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