aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-01-17 00:04:21 +0100
committerXavier Noria <fxn@hashref.com>2010-01-17 00:04:21 +0100
commit844b8e77970c52209f8677a9e498bdb1f7170ac1 (patch)
tree60b43f39e6a73ace466bf018a84d1c9d3b33a213
parent67920bc26cf9fbe60e70a2e4de5813bea51c9879 (diff)
downloadrails-844b8e77970c52209f8677a9e498bdb1f7170ac1.tar.gz
rails-844b8e77970c52209f8677a9e498bdb1f7170ac1.tar.bz2
rails-844b8e77970c52209f8677a9e498bdb1f7170ac1.zip
AS guide: documents Object#remove_subclasses_of
-rw-r--r--railties/guides/source/active_support_core_extensions.textile6
1 files changed, 6 insertions, 0 deletions
diff --git a/railties/guides/source/active_support_core_extensions.textile b/railties/guides/source/active_support_core_extensions.textile
index 3073c3a7a5..32d9d4c413 100644
--- a/railties/guides/source/active_support_core_extensions.textile
+++ b/railties/guides/source/active_support_core_extensions.textile
@@ -323,6 +323,12 @@ TIP: Since +with_options+ forwards calls to its receiver they can be nested. Eac
NOTE: Defined in +active_support/core_ext/object/with_options.rb+.
+h4. Modules and Classes
+
+h5. +remove_subclasses_of+
+
+The method +remove_subclasses_of+ receives an arbitrary number of class objects and removes their subclasses. It is a wrapper of +Class#remove_class+ explained with more details in "Class Removal FIX THIS LINK":FIXME.
+
h4. Instance Variables
Active Support provides several methods to ease access to instance variables.