superclass=Delegator
type=class
library=weakref
extended=
included=

[[c:WeakRef]] ֥ȤͿ줿֥ȤݥȤޤ
ݥΥ֥Ȥ GC ǽޤ
褦ȤȤ˥֥Ȥ GC Ƥ
WeakRef::RefError ȯޤ

see also: [[lib:delegate]]

=== ץ륳

  require 'weakref'

  foo = Object.new
  ref = WeakRef.new(foo)
  ref.some_method_of_foo
