Object
# File lib/v8/weak.rb, line 28 def initialize @values = {} end
# File lib/v8/weak.rb, line 32 def [](key) if ref = @values[key] ref.object end end
# File lib/v8/weak.rb, line 38 def []=(key, value) @values[key] = V8::Weak::Ref.new(value) end