From: sto.mar@... Date: 2013-03-01T02:51:19+09:00 Subject: Re: Discussion on Ruby's `alias` Am 28.02.2013 13:34, schrieb Tukai Patra: >>> class Foo >>> def show >>> p "hi" >>> end >>> end > => nil >>> class Foo >>> alias :old_show :show >>> def show >>> p "hi! I am there." >>> old_show >>> end >>> end > => nil >>> foo = Foo.new > => # >>> foo.show > "hi! I am there." > "hi" > => "hi" >>> > > The above code is very fine. But looking for if possible to call that > `old_show` method by the object of `Foo` from `IRB main` as we called > `foo.show`? - Is this possible? You obviously didn't even try to just call the #old_show method. Arup Rakshit, Love U Ruby, Xavier R., Tukai Patra: When you think we are so stupid that we do not recognize you in spite of your new user names then you shouldn't ask us for help. --