From: "luislavena (Luis Lavena)" Date: 2012-03-28T03:36:35+09:00 Subject: [ruby-core:43777] [ruby-trunk - Feature #6210] load should provide a way to specify the top-level module Issue #6210 has been updated by luislavena (Luis Lavena). Assignee set to matz (Yukihiro Matsumoto) Target version set to 2.0.0 Sounds partially like #5643? ---------------------------------------- Feature #6210: load should provide a way to specify the top-level module https://bugs.ruby-lang.org/issues/6210#change-25284 Author: now (Nikolai Weibull) Status: Open Priority: Normal Assignee: matz (Yukihiro Matsumoto) Category: core Target version: 2.0.0 load currently takes an optional second argument that allows you to load into an anonymous and new top-level Module. It would be nice if the second argument could also be a Module that would then be used as the top-level Module. That way one could provide a set of methods that should be available to the content being loaded without having to put them in Kernel. -- http://bugs.ruby-lang.org/