On 5/19/06, Alex Young <alex / blackkettle.org> wrote: > There have been a few threads recently both here and on the Rails list > where the problem of namespace collisions has come up. It seems to my > untutored eye that they've come about simply because the original > authors didn't apply their namespacing universally. From memory, an > example is htmltools and ActionPack both defining an HTML::Tag class. > > A possible solution sprung to mind: how does the following syntax look? > > require 'foo', :into => 'Bar' > require 'qux', :into => 'Wibble::Spang' Awful and unworkable. Remember that in Ruby, a filename does not necessarily correspond to a created or loaded class. Furthermore, with dynamic code generation, that would end up meaning nothing at all in the end. So, I would oppose this heartily. -austin -- Austin Ziegler * halostatue / gmail.com * Alternate: austin / halostatue.ca