From: "Ara.T.Howard" Date: 2005-11-02T23:19:52+09:00 Subject: Re: ruby-dev summary 27393-27541 On Wed, 2 Nov 2005, David A. Black wrote: > See my previous post, with an example from Ruby Behaviors. sure. but afaikt there is no jcode __object__ in the initial post to call methods on. surely the bare token 'jcode' cannot be it, otherwise using jcode jcode = 42 would have disaterous effects. hopefully it would, in fact, be String::jcode so we might also have Iconv::jcode and, if this 'jcode' thing is an object why not create it directly with namespace jcode ... end rather than implicitly using def jcode::method end i'm unclear how this whole construct is more useful that using modules as namespaces, which can be nested and manipulated like all other module/classes. cheers. -a -- =============================================================================== | email :: ara [dot] t [dot] howard [at] noaa [dot] gov | phone :: 303.497.6469 | anything that contradicts experience and logic should be abandoned. | -- h.h. the 14th dalai lama ===============================================================================