From: Nobuyoshi Nakada Date: 2006-11-15T21:25:28+09:00 Subject: Re: Proc as Observer Hi, At Wed, 15 Nov 2006 20:50:05 +0900, Trans wrote in [ruby-talk:225107]: > My mistake. It is for Symbols that it doesn't work. I was mistakingly > thinking nil was the same, but that it not the case --which is great > b/c it makes my code obsolete! :-) I guess that Symbol in current 1.9 could have singleton methods. Or, it would be possible by a hack similar to instance variables of them, if really desirable. > > It might be doubtful to be effective, since a Proc doesn't equal > > another Proc created in the same place almost. > > Hmm... yes, I mean to go one step futher and catch the module and > create methods within it: Point taken. -- Nobu Nakada