Skip to content

Commit 49f9c9b

Browse files
committed
Box: [DOC] Uodate the name from Namespace
1 parent 0291123 commit 49f9c9b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/language/box.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Ruby Box is designed to provide separated spaces in a Ruby process, to isolate a
1111

1212
## TODOs
1313

14-
* Add the loaded namespace on iseq to check if another namespace tries running the iseq (add a field only when VM_CHECK_MODE?)
14+
* Add the loaded box on iseq to check if another box tries running the iseq (add a field only when VM_CHECK_MODE?)
1515
* Assign its own TOPLEVEL_BINDING in boxes
1616
* Fix calling `warn` in boxes to refer `$VERBOSE` and `Warning.warn` in the box
1717
* Make an internal data container class `Ruby::Box::Entry` invisible
@@ -22,7 +22,7 @@ Ruby Box is designed to provide separated spaces in a Ruby process, to isolate a
2222
### Enabling Ruby Box
2323

2424
First, an environment variable should be set at the ruby process bootup: `RUBY_BOX=1`.
25-
The only valid value is `1` to enable namespace. Other values (or unset `RUBY_BOX`) means disabling namespace. And setting the value after Ruby program starts doesn't work.
25+
The only valid value is `1` to enable Ruby Box. Other values (or unset `RUBY_BOX`) means disabling Ruby Box. And setting the value after Ruby program starts doesn't work.
2626

2727
### Using Ruby Box
2828

@@ -75,7 +75,7 @@ There are two box types:
7575

7676
There is the root box, just a single box in a Ruby process. Ruby bootstrap runs in the root box, and all builtin classes/modules are defined in the root box. (See "Builtin classes and modules".)
7777

78-
User boxes are to run user-written programs and libraries loaded from user programs. The user's main program (specified by the `ruby` command line argument) is executed in the "main" box, which is a user namespace automatically created at the end of Ruby's bootstrap, copied from the root box.
78+
User boxes are to run user-written programs and libraries loaded from user programs. The user's main program (specified by the `ruby` command line argument) is executed in the "main" box, which is a user box automatically created at the end of Ruby's bootstrap, copied from the root box.
7979

8080
When `Ruby::Box.new` is called, an "optional" box (a user, non-main box) is created, copied from the root box. All user boxes are flat, copied from the root box.
8181

0 commit comments

Comments
 (0)