From: Gregory Brown Date: 2007-01-21T16:33:36+09:00 Subject: Re: Getting the version number for rubygems? On 1/21/07, Eric Hodel wrote: > On Jan 20, 2007, at 21:29, Gregory Brown wrote: > > On 1/21/07, Devin Mullins wrote: > >> Gregory Brown wrote: > >> > instead of alias i'll use alias_method. > >> Why? (Curious, not argumentative.) > > > > alias is really a somewhat scary function. I can't think of a good > > example right now, but i've seen a couple different surprising things > > with alias, wheras alias_method is simple and has normal behaviour. > > Perhaps someone on the list can help me out with this. > > You're seeing phantoms. There's no difference between alias_method > and alias on the inside. Hah. That'd explain why I am scared. I forget what the cases were, but Sebastian Delmont did a talk on things he found surprising in Ruby, and the stuff he pulled up for alias vs. alias_method was pretty convincing.