On Thursday 27 May 2004 22:34, Mehr, Assaph (Assaph) wrote:
>
> If you start using Modules (and Classes) than you're probably after an
> OO design. Why would you then put things as "global" and not in a
> dedicated namespace/class? The only time you may want to do this is when
> you need it from within each object (or for convenience, like Kernel).
> If you want to break this paradigm, Ruby lets you do this by calling the
> TOPLEVEL_BINDING.

I didn't put this particular method in the global space.  It's in one of the 
built-in libraries.

Besides, you should be able to have globals, even if you partition your code 
into namespaces.

	Sean O'Dell