aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-01-17 00:48:28 +0100
committerXavier Noria <fxn@hashref.com>2010-01-17 00:48:28 +0100
commit32bbd61e06d8bf241a8e4598d8dc91c42f36432f (patch)
treec70102b602064100fe16d2a862a4aabcdf308fa5
parent28f31f5d625f376bfcdbd67aca3cf03399b02c61 (diff)
downloadrails-32bbd61e06d8bf241a8e4598d8dc91c42f36432f.tar.gz
rails-32bbd61e06d8bf241a8e4598d8dc91c42f36432f.tar.bz2
rails-32bbd61e06d8bf241a8e4598d8dc91c42f36432f.zip
AS guide: Object#subclasses_of also selects anonymous classes
-rw-r--r--railties/guides/source/active_support_core_extensions.textile4
1 files 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:
<ruby>
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:
<ruby>
class C; end