summaryrefslogtreecommitdiffstats
path: root/lib/weakref.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-03-06 04:15:42 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-03-06 04:15:42 +0000
commitf30e4e7d846b33b7adf98eac7695c47234f48d4a (patch)
tree095315717e3050b4acb09d91e848dc2e3d0b2b5f /lib/weakref.rb
parent4a63aea75bf3c7eb1a26ab06d8a56789fa668a79 (diff)
downloadruby-f30e4e7d846b33b7adf98eac7695c47234f48d4a.tar.gz
ruby-f30e4e7d846b33b7adf98eac7695c47234f48d4a.tar.xz
ruby-f30e4e7d846b33b7adf98eac7695c47234f48d4a.zip
2000-03-06
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/weakref.rb')
-rw-r--r--lib/weakref.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/weakref.rb b/lib/weakref.rb
index c6fe8cd21..18b530f2a 100644
--- a/lib/weakref.rb
+++ b/lib/weakref.rb
@@ -40,7 +40,7 @@ class WeakRef<Delegator
ObjectSpace.call_finalizer orig
ObjectSpace.call_finalizer self
ID_MAP[@__id] = [] unless ID_MAP[@__id]
- ID_MAP[@__id].concat self.__id__
+ ID_MAP[@__id].push self.__id__
ID_REV_MAP[self.id] = @__id
end