diff options
author | Xavier Noria <fxn@hashref.com> | 2010-01-26 22:44:32 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-01-26 22:44:32 +0100 |
commit | 5b01c8bb8bd9354fda8dc00c2df6888dbab7f017 (patch) | |
tree | d6efe9674893034e33212b1b08089fa611e166ea /activesupport | |
parent | 1b2ac25a2fe12d636f90bce1c510667d7accf407 (diff) | |
download | rails-5b01c8bb8bd9354fda8dc00c2df6888dbab7f017.tar.gz rails-5b01c8bb8bd9354fda8dc00c2df6888dbab7f017.tar.bz2 rails-5b01c8bb8bd9354fda8dc00c2df6888dbab7f017.zip |
removes unused Object#remove_subclasses_of
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/core_ext/object/extending.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/core_ext/object/extending.rb b/activesupport/lib/active_support/core_ext/object/extending.rb index b8b6970382..e1aed3fc3c 100644 --- a/activesupport/lib/active_support/core_ext/object/extending.rb +++ b/activesupport/lib/active_support/core_ext/object/extending.rb @@ -36,10 +36,6 @@ class Class end class Object - def remove_subclasses_of(*superclasses) #:nodoc: - Class.remove_class(*subclasses_of(*superclasses)) - end - # Exclude this class unless it's a subclass of our supers and is defined. # We check defined? in case we find a removed class that has yet to be # garbage collected. This also fails for anonymous classes -- please |