aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-01-26 22:49:35 +0100
committerXavier Noria <fxn@hashref.com>2010-01-26 22:49:35 +0100
commit5f981ff0294ba45aa44ad15aa063970b29aeec44 (patch)
tree8ace8d95a0bbb33e6a628308b1d35c5e1f878ad2 /activesupport
parentf85f5dfc8ffefff174b695c6363211d342f77a57 (diff)
downloadrails-5f981ff0294ba45aa44ad15aa063970b29aeec44.tar.gz
rails-5f981ff0294ba45aa44ad15aa063970b29aeec44.tar.bz2
rails-5f981ff0294ba45aa44ad15aa063970b29aeec44.zip
removes unused method Class#reachable?
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/core_ext/class/removal.rb5
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