From: Christophe Grandsire Date: 2005-11-02T22:08:23+09:00 Subject: Re: ruby-dev summary 27393-27541 Selon Christophe Grandsire : > > class String > def chop@jcode # "define chop at jcode" > ... > end > end > I know it's not nice to reply to one's own mail, but looking at it again I realised that putting the namespace after the method allows one to use namespaces for class and singleton methods without syntax problems. On can simply write: def obj.method@namespace ... end without having to wonder whether the namespace should come before or after the object name (yes, I know using "class <