diff options
author | Xavier Noria <fxn@hashref.com> | 2010-01-26 22:49:35 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-01-26 22:49:35 +0100 |
commit | 5f981ff0294ba45aa44ad15aa063970b29aeec44 (patch) | |
tree | 8ace8d95a0bbb33e6a628308b1d35c5e1f878ad2 /activesupport/lib | |
parent | f85f5dfc8ffefff174b695c6363211d342f77a57 (diff) | |
download | rails-5f981ff0294ba45aa44ad15aa063970b29aeec44.tar.gz rails-5f981ff0294ba45aa44ad15aa063970b29aeec44.tar.bz2 rails-5f981ff0294ba45aa44ad15aa063970b29aeec44.zip |
removes unused method Class#reachable?
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/core_ext/class/removal.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/activesupport/lib/active_support/core_ext/class/removal.rb b/activesupport/lib/active_support/core_ext/class/removal.rb index c76c87e313..80a920e4d6 100644 --- a/activesupport/lib/active_support/core_ext/class/removal.rb +++ b/activesupport/lib/active_support/core_ext/class/removal.rb @@ -2,11 +2,6 @@ require 'active_support/core_ext/object/extending' require 'active_support/core_ext/module/introspection' class Class #:nodoc: - - def reachable? - eval("defined?(::#{self}) && ::#{self}.equal?(self)") - end - # Removes the classes in +klasses+ from their parent module. # # Ordinary classes belong to some module via a constant. This method computes |