From: Tukai Patra Date: 2013-02-28T22:02:04+09:00 Subject: Re: Discussion on Ruby's `alias` Alex Gutteridge wrote in post #1099529: > On 28.02.2013 12:34, Tukai Patra wrote: >>>> old_show > class Foo > def bar > puts "bar" > end > end > ==>nil > class Foo > alias :baz :bar > def bar > puts "baz" > baz > end > end > ==>nil > > foo = Foo.new > ==># Yes the below one I was looking for if possible or not. Can you explain how does it possible? what internal task ruby did for that call? > foo.baz > bar > ==>nil Sorry I overlooked it :) -- Posted via http://www.ruby-forum.com/.