Randy Lawrence wrote:

> How do we manage namespaces in Ruby to avoid collisions with 3rd parties?
> 
> In Java, they use something like "com.companyname.foo" as a naming 
> convention which then maps to directories.
> 
> In Ruby, how do we name modules so our "foo" module doesn't collide with 
> a 3rd-party module named "foo" from another company?
> 

The easiest way to do this would be something like:

require "companyname/module"

and just keep all your libraries within companyname.

Rando Christensen
<eyez / illuzionz.org>