From: "Florian G. Pflug" Date: 2001-07-31T20:36:18+09:00 Subject: [ruby-talk:18877] require()-ing in a module? Hi Is is possible to require() is file so, that all the classes and modules inside the file are put in a special module? e.g -----module.rb-------- module Foo class Bar end end ---------------------- module NameSpace require 'foobar.rb' end Now I would like class Bar to be accessable with NameSpace::Foo::Bar, rather than with Foo::Bar I tried require() and load(), but both seems to "switch" to the global namespace greetings, Florian Pflug