From: James Edward Gray II Date: 2006-03-20T00:59:16+09:00 Subject: Re: "using namespace" equivalent ? On Mar 19, 2006, at 8:28 AM, killy-kun wrote: > I would like to know if there is in ruby an equivalent to the c++ > instruction "using namespace" (in order not to have to prefix > things by there namespace when needed). Well, if we are talking about a module, you might be able to include it: >> module Namespace >> extend self >> def some_method >> puts "Hello!" >> end >> end => nil >> Namespace::some_method Hello! => nil >> include Namespace => Object >> some_method Hello! => nil Hope that helps. James Edward Gray II