Fix doc in Object#respond_to_missing? (#2239)

This commit is contained in:
songhuangcn 2019-08-15 23:20:52 +08:00 коммит произвёл Takashi Kokubun
Родитель 715218c430
Коммит d2070f2e45
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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
*