mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* doc/contributing.rdoc: [DOC] curses is no more in the stdlib
* doc/contributors.rdoc: Ditto. * doc/maintainers.rdoc: Ditto. * doc/contributors.rdoc: Ditto. * doc/standard_library.rdoc: Ditto. * doc/syntax/modules_and_classes.rdoc: Ditto. * encoding.c: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4d5729a7ee
commit
02c8545037
6 changed files with 2 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue