From: Alex Young Date: 2006-05-20T00:58:48+09:00 Subject: Re: Ruby namespaces and require transfire@gmail.com wrote: > In Rolls (roll.rubyforge.org) I added the import method which works > like this: > > module Bar > import 'foo' > end > > I can't say which sytax is better, but either works, but there are some > gotchyas in doing this that one must be careful about. For instance, > importing any code with extensions to built in classes will not work > unless the class name is prefixed with '::'. I can't say I like the syntax (I came up with :into for precisely that reason - your way is more natural, but rather verbose), but it's different strokes for different folks. I'll take a look at your implementation... It'd be good to have something standard to point to as a solution. -- Alex