From: Hagbard Celine Date: 2010-06-14T21:15:29+09:00 Subject: Re: Loading a module without polluting my namespace Thanks for your reply but I'm afraid that doesn't solve my problem. I stumbled upon the optional argument of `load' as well but it prevents me from accessing the loaded module. I'm sorry if I wasn't clear enough. I would need something like this: # foo.rb module Foo def method_a end def method_b end end # bar.rb def load_module load "foo.rb" puts Foo.methods end # `Foo' isn't known anymore If I use `load "foo.rb", true' I can't access the loaded module or am I mistaken? Security is a minor problem for the moment as it's just a hobby project. But I take a look at _why's sandbox anyway. Thanks for the hint. -- Posted via http://www.ruby-forum.com/.