aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext
diff options
context:
space:
mode:
authorNicholas Seckar <nseckar@gmail.com>2006-03-26 20:04:14 +0000
committerNicholas Seckar <nseckar@gmail.com>2006-03-26 20:04:14 +0000
commit26837824555bfa749287f691e8ca96137dcfef7d (patch)
tree468d7d167f9f70f726b10be01b26ff38aeca3ed0 /activesupport/lib/active_support/core_ext
parent3bab575316d919d1d51b9384f76f73cbcb0971e9 (diff)
downloadrails-26837824555bfa749287f691e8ca96137dcfef7d.tar.gz
rails-26837824555bfa749287f691e8ca96137dcfef7d.tar.bz2
rails-26837824555bfa749287f691e8ca96137dcfef7d.zip
Remove broken hack which has no effect.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4050 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/lib/active_support/core_ext')
-rw-r--r--activesupport/lib/active_support/core_ext/object/extending.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/object/extending.rb b/activesupport/lib/active_support/core_ext/object/extending.rb
index 16f62d85b7..e15b4bf385 100644
--- a/activesupport/lib/active_support/core_ext/object/extending.rb
+++ b/activesupport/lib/active_support/core_ext/object/extending.rb
@@ -9,7 +9,6 @@ class Object #:nodoc:
next if # Exclude this class if
(k.ancestors & superclasses).empty? || # It's not a subclass of our supers
superclasses.include?(k) || # It *is* one of the supers
- subclasses.include?(k) || # We already have it for some obscure reason
eval("! defined?(::#{k})") || # It's not defined.
eval("::#{k}").object_id != k.object_id
subclasses << k