From: Robert Klemme Date: 2010-10-15T21:31:50+09:00 Subject: Re: Is it possible to find out if an identifier is a method alias? On Fri, Oct 15, 2010 at 1:03 PM, Ammar Ali wrote: > On Fri, Oct 15, 2010 at 2:17 AM, Daniel Berger wrote: >> class Foo >>  def alpha; end >>  def beta; end >>  alias gamma alpha >> end >> >> Foo.instance_method(:alpha) == Foo.instance_method(:beta) # => false >> Foo.instance_method(:alpha) == Foo.instance_method(:gamma) # => true > > Thanks Daniel. That's helpful. But which of the two is the alias? robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/