From: ko1@... Date: 2015-05-27T18:39:27+00:00 Subject: [ruby-core:69388] [Ruby trunk - Bug #11188] [Open] Method#inspect for chaining alias methods Issue #11188 has been reported by Koichi Sasada. ---------------------------------------- Bug #11188: Method#inspect for chaining alias methods https://bugs.ruby-lang.org/issues/11188 * Author: Koichi Sasada * Status: Open * Priority: Normal * Assignee: Yukihiro Matsumoto * ruby -v: 2.3dev * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- The following script prints strange results (at least for me). ```ruby class C0 def foo end end class C1 < C0 alias foo1 foo alias foo2 foo1 alias foo3 foo2 end p C1.new.method(:foo) p C1.new.method(:foo1) p C1.new.method(:foo2) p C1.new.method(:foo3) ``` Result: ``` # # # # ``` I believe 3rd and 4th results should be: ``` # # ``` How about it? -- https://bugs.ruby-lang.org/