Skip to content

Commit c098b15

Browse files
committed
Add block self type to define_singleton_method
1 parent 6f92db2 commit c098b15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/kernel.rbs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2297,7 +2297,7 @@ module Kernel : BasicObject
22972297
# chris.greet("Hi") #=> "Hi, I'm Chris!"
22982298
#
22992299
def define_singleton_method: (interned name, Method | UnboundMethod | Proc method) -> Symbol
2300-
| (interned name) { (?) -> untyped } -> Symbol
2300+
| (interned name) { (?) [self: self] -> untyped } -> Symbol
23012301

23022302
# <!--
23032303
# rdoc-file=io.c

0 commit comments

Comments
 (0)