On Jan 20, 2007, at 23:33, Gregory Brown wrote: > On 1/21/07, Eric Hodel <drbrain / segment7.net> wrote: >> On Jan 20, 2007, at 21:29, Gregory Brown wrote: >> > On 1/21/07, Devin Mullins <twifkak / comcast.net> 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. any slides online? -- Eric Hodel - drbrain / segment7.net - http://blog.segment7.net I LIT YOUR GEM ON FIRE!