summaryrefslogtreecommitdiff
path: root/load.c
diff options
context:
space:
mode:
Diffstat (limited to 'load.c')
-rw-r--r--load.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/load.c b/load.c
index d36285fc38..cddd7255ac 100644
--- a/load.c
+++ b/load.c
@@ -469,6 +469,11 @@ load_unlock(const char *ftptr, int done)
*
* require "my-library.rb"
* require "db-driver"
+ *
+ * Any constants or globals within the loaded source file will be available
+ * in the calling program's global namespace. However, local variables will
+ * not be propagated to the loading environment.
+ *
*/
VALUE