From: Markus Fischer Date: 2009-06-02T21:20:06+09:00 Subject: Re: Modules and importing them/their namespace? Hi, Stefano Crocco wrote: > Simply create a constant which points to the module: > > FinallyMyClass = MyModule::HasSubmodile::AndAnotherOne::FinallyMyClass > > With this you can do: > > obj = FinallyMyClass.new > > I hope this helps I don't think so, as it does not make the current scope aware of modules/namespace. Without prefix, I just can't access FinallyMyClass like I would do it in java(-ish). Probably nothing which belongs into ruby/dynamically typed language. thanks, - Markus