Object
# File lib/v8/weak.rb, line 52 def access(&block) if @ref @ref.object || populate(block) else populate(block) end end
# File lib/v8/weak.rb, line 62 def populate(block) occupant = block.call() @ref = V8::Weak::Ref.new(occupant) return occupant end