In Files

Namespace

Methods

Files

V8::Weak::Cell

Public Instance Methods

weakcell(name, &block) click to toggle source
# File lib/v8/weak.rb, line 48
def weakcell(name, &block)
  unless storage = instance_variable_get("@#{name}")
    storage = instance_variable_set("@#{name}", Storage.new)
  end
  storage.access(&block)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.