diff options
author | Xavier Noria <fxn@hashref.com> | 2010-01-17 00:04:21 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-01-17 00:04:21 +0100 |
commit | 844b8e77970c52209f8677a9e498bdb1f7170ac1 (patch) | |
tree | 60b43f39e6a73ace466bf018a84d1c9d3b33a213 /railties | |
parent | 67920bc26cf9fbe60e70a2e4de5813bea51c9879 (diff) | |
download | rails-844b8e77970c52209f8677a9e498bdb1f7170ac1.tar.gz rails-844b8e77970c52209f8677a9e498bdb1f7170ac1.tar.bz2 rails-844b8e77970c52209f8677a9e498bdb1f7170ac1.zip |
AS guide: documents Object#remove_subclasses_of
Diffstat (limited to 'railties')
-rw-r--r-- | railties/guides/source/active_support_core_extensions.textile | 6 |
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. |