From 844b8e77970c52209f8677a9e498bdb1f7170ac1 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Sun, 17 Jan 2010 00:04:21 +0100 Subject: AS guide: documents Object#remove_subclasses_of --- railties/guides/source/active_support_core_extensions.textile | 6 ++++++ 1 file changed, 6 insertions(+) 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. -- cgit v1.2.3