diff options
Diffstat (limited to 'doc/syntax')
-rw-r--r-- | doc/syntax/modules_and_classes.rdoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/syntax/modules_and_classes.rdoc b/doc/syntax/modules_and_classes.rdoc index f4ab1ea6f9..a82a6f27ed 100644 --- a/doc/syntax/modules_and_classes.rdoc +++ b/doc/syntax/modules_and_classes.rdoc @@ -4,8 +4,8 @@ Modules serve two purposes in Ruby, namespacing and mix-in functionality. A namespace can be used to organize code by package or functionality that separates common names from interference by other packages. For example, the -Curses namespace provides functionality for curses that prevents a collision -for the common name "Window". +IRB namespace provides functionality for irb that prevents a collision +for the common name "Context". Mix-in functionality allows sharing common methods across multiple classes or modules. Ruby comes with the Enumerable mix-in module which provides many |