Walton Hoops wrote:
>> 
>> 
>> I think this has something to do with Modules not mixing in, uh, class
>> methods.  Frankly, I'm not following the arguments.
>> 
>> 
>> So ... what is the right way to create a function like puts that is
>> known everywhere?
> 
> 
> Maybe I'm missing something, but I think what you want is to just
> define it in the default global scope:
[...]

Right.  Which actually puts it in Object.  I had forgotten about the 
syntactic sugar.


Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen / marnen.org
-- 
Posted via http://www.ruby-forum.com/.