From: Rick DeNatale Date: 2007-09-17T06:07:26+09:00 Subject: Re: confusion over 1.8.5 and 1.8.6 behavior of private On 9/14/07, Kevin Barnes wrote: > I noticed some interesting behavior when implementing some > metaprogramming techniques with private. This is dependent on why's > metaid gem/library. I have included metaid at the end in case folks > are not familiar with it. > > In 1.8.5 the output is: > true > true > true > > In 1.8.6 the output is: > true > true > false > Just wondering why the me_maybe_private method doesn't show up in the > list of private methods in 1.8.6? Which version of Ruby is 'right'? > No idea which is right. I wasn't aware of a difference between 1.8.5 and 1.8.6. This touches on something I blogged about not too long ago: http://talklikeaduck.denhaven2.com/articles/2007/09/04/block-your-privates -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/