Fix doc in Object#respond_to_missing? (#2239)
This commit is contained in:
parent
715218c430
commit
d2070f2e45
2
object.c
2
object.c
@ -4160,7 +4160,7 @@ rb_obj_dig(int argc, VALUE *argv, VALUE obj, VALUE notfound)
|
|||||||
* DELEGATE = [:puts, :p]
|
* DELEGATE = [:puts, :p]
|
||||||
*
|
*
|
||||||
* def method_missing(name, *args, &block)
|
* def method_missing(name, *args, &block)
|
||||||
* super unless DELEGATE.include? name
|
* return super unless DELEGATE.include? name
|
||||||
* ::Kernel.send(name, *args, &block)
|
* ::Kernel.send(name, *args, &block)
|
||||||
* end
|
* end
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user