Flowdock
new(orig) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/weakref.rb, line 41
  def initialize(orig)
    @__id = orig.object_id
    ObjectSpace.define_finalizer orig, @@final
    ObjectSpace.define_finalizer self, @@final
    @@mutex.synchronize {
      @@id_map[@__id] = [] unless @@id_map[@__id]
    }
    @@id_map[@__id].push self.object_id
    @@id_rev_map[self.object_id] = @__id
    super
  end
Register or log in to add new notes.