aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-01-27 22:05:29 +0100
committerXavier Noria <fxn@hashref.com>2010-01-27 22:06:04 +0100
commit7a91f3712ca877ca8bc296b95690505062d18791 (patch)
treeabbfce7c09dfaf00aec1fc6919b24775ac456c25 /railties/guides
parentd546a72d00d084d9016593f67c52078d21d273d4 (diff)
downloadrails-7a91f3712ca877ca8bc296b95690505062d18791.tar.gz
rails-7a91f3712ca877ca8bc296b95690505062d18791.tar.bz2
rails-7a91f3712ca877ca8bc296b95690505062d18791.zip
Object#extended_by has been deleted in c25ac0deeefe55837ba8fd2b2dc860924a507e63
Diffstat (limited to 'railties/guides')
-rw-r--r--railties/guides/source/active_support_core_extensions.textile25
1 files changed, 0 insertions, 25 deletions
diff --git a/railties/guides/source/active_support_core_extensions.textile b/railties/guides/source/active_support_core_extensions.textile
index 8dd1bb06c2..86c7662bf7 100644
--- a/railties/guides/source/active_support_core_extensions.textile
+++ b/railties/guides/source/active_support_core_extensions.textile
@@ -363,31 +363,6 @@ See also +Class#subclasses+ in "Extensions to +Class+ FIXME THIS LINK":FIXME.
NOTE: Defined in +active_support/core_ext/object/extending.rb+.
-h5. +extended_by+
-
-The method +extended_by+ returns an array with the modules that extend the receiver, if any:
-
-<ruby>
-module M
-end
-
-module N2
-end
-
-module N
- include N2
-end
-
-class C
- extend M
- extend N
-end
-
-C.extended_by # => [N, N2, M]
-</ruby>
-
-NOTE: Defined in +active_support/core_ext/object/extending.rb+.
-
h5. +extend_with_included_modules_from+
The method +extend_with_included_modules_from+ extends its receiver with the modules that extend its argument: