mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix doc in Object#respond_to_missing? (#2239)
This commit is contained in:
parent
715218c430
commit
d2070f2e45
1 changed files with 1 additions and 1 deletions
2
object.c
2
object.c
|
@ -4160,7 +4160,7 @@ rb_obj_dig(int argc, VALUE *argv, VALUE obj, VALUE notfound)
|
|||
* DELEGATE = [:puts, :p]
|
||||
*
|
||||
* def method_missing(name, *args, &block)
|
||||
* super unless DELEGATE.include? name
|
||||
* return super unless DELEGATE.include? name
|
||||
* ::Kernel.send(name, *args, &block)
|
||||
* end
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue