Skip to content

Commit f1765cd

Browse files
herwinwnobu
authored andcommitted
[Doc] Remove leftover references to namespace from box.md
And fix the indentation a little bit, since `box` is one character longer than `ns`.
1 parent d7369f0 commit f1765cd

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

doc/box.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,12 @@ class Something
4949
end
5050
```
5151

52-
Classes/modules, those methods and constants defined in the box can be accessed via `ns` object.
52+
Classes/modules, those methods and constants defined in the box can be accessed via `box` object.
5353

5454
```ruby
55-
p ns::Something.x # 1
56-
5755
X = 2
58-
p X # 2
59-
p ::X # 2
56+
p X # 2
57+
p ::X # 2
6058
p box::Something.x # 1
6159
p box::X # 1
6260
```

0 commit comments

Comments
 (0)