From 32bbd61e06d8bf241a8e4598d8dc91c42f36432f Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Sun, 17 Jan 2010 00:48:28 +0100 Subject: AS guide: Object#subclasses_of also selects anonymous classes --- railties/guides/source/active_support_core_extensions.textile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/railties/guides/source/active_support_core_extensions.textile b/railties/guides/source/active_support_core_extensions.textile index 880f6107a9..0289121f35 100644 --- a/railties/guides/source/active_support_core_extensions.textile +++ b/railties/guides/source/active_support_core_extensions.textile @@ -331,7 +331,7 @@ The method +remove_subclasses_of+ receives an arbitrary number of class objects h5. +subclasses_of+ -The method +subclasses_of+ receives an arbitrary number of class objects and returns all their reachable descendants as a single array: +The method +subclasses_of+ receives an arbitrary number of class objects and returns all their anonymous or reachable descendants as a single array: class C; end @@ -629,7 +629,7 @@ NOTE: Defined in +active_support/core_ext/class/delegating_attributes.rb+. h4. Subclasses -The +subclasses+ method returns the names of all the reachable descendants of its receiver as an array of strings: +The +subclasses+ method returns the names of all the anonymous or reachable descendants of its receiver as an array of strings: class C; end -- cgit v1.2.3