We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a8887a4 + 9495ec9 commit 74772a5Copy full SHA for 74772a5
lib/weakref.rb
@@ -41,7 +41,7 @@ def initialize(orig)
41
super
42
end
43
44
- def __getobj__ # :nodoc:
+ def __getobj__(&_block) # :nodoc:
45
@@__map[self] or defined?(@delegate_sd_obj) ? @delegate_sd_obj :
46
Kernel::raise(RefError, "Invalid Reference - probably recycled", Kernel::caller(2))
47
0 commit comments