Project

General

Profile

« Previous | Next » 

Revision 2dc61381

Added by etienne (Étienne Barrié) almost 5 years ago

delegate.rb: don't look for methods on Kernel

Instead, look for instance methods of Kernel.
Otherwise, instance methods of Module (which are methods of Kernel
itself) are mistakenly believed to exist, and it fails when calling
Kernel.instance_method().

Closes: https://github.com/ruby/ruby/pull/1422