aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/autoloading_and_reloading_constants.md
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2015-01-23 11:21:42 +0100
committerXavier Noria <fxn@hashref.com>2015-01-23 11:21:42 +0100
commit4e02dcc2521dc74e486faec291684b30565041dc (patch)
treea2026774e0ba5dde4a03e66adb3486b8b1634274 /guides/source/autoloading_and_reloading_constants.md
parent139c232b075da940cdf1042dcaad4c3b514908c9 (diff)
downloadrails-4e02dcc2521dc74e486faec291684b30565041dc.tar.gz
rails-4e02dcc2521dc74e486faec291684b30565041dc.tar.bz2
rails-4e02dcc2521dc74e486faec291684b30565041dc.zip
constants guide: make assumption explicit in an example [closes #18465] [ci skip]
Diffstat (limited to 'guides/source/autoloading_and_reloading_constants.md')
-rw-r--r--guides/source/autoloading_and_reloading_constants.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/guides/source/autoloading_and_reloading_constants.md b/guides/source/autoloading_and_reloading_constants.md
index c4fac1cff5..202dc601a7 100644
--- a/guides/source/autoloading_and_reloading_constants.md
+++ b/guides/source/autoloading_and_reloading_constants.md
@@ -114,6 +114,16 @@ certain nesting does not necessarily correlate with the namespaces at the spot.
Even more, they are totally independent, take for instance
```ruby
+module X
+ module Y
+ end
+end
+
+module A
+ module B
+ end
+end
+
module X::Y
module A::B
# (3)