This commit is contained in:
Denis Knauf 2010-02-03 13:34:26 +01:00
parent c6fe157334
commit 8385dd2868

View file

@ -35,6 +35,7 @@ class WeakHash
ObjectSpace.define_finalizer(value, @reclaim_value) ObjectSpace.define_finalizer(value, @reclaim_value)
ObjectSpace.define_finalizer(key, @reclaim_key) ObjectSpace.define_finalizer(key, @reclaim_key)
value
end end
def [] key def [] key