From: Tukai Patra Date: 2013-02-28T21:51:23+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 > Uh, yes you just call it, unless I totally misunderstand your question? > > class Foo > def bar > puts "bar" > end > end > ==>nil > class Foo > alias :baz :bar > def bar > puts "baz" > baz > end > end in the above you put `baz` inside `bar`, thus you were able. I am telling without putting it into any instance method, can we call it,from the outside of the class? Hope myself cleard now my intention. -- Posted via http://www.ruby-forum.com/.