HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Ruby27-x64/share/ri/2.7.0/system/WeakRef/cdesc-WeakRef.ri
U:RDoc::NormalClass[iI"WeakRef:ET@I"Delegator;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"@Weak Reference class that allows a referenced object to be ;TI"garbage-collected.;To:RDoc::Markup::BlankLineo;	;[I"AA WeakRef may be used exactly like the object it references.;T@o;	;[I"Usage:;T@o:RDoc::Markup::Verbatim;[I"@foo = Object.new            # create a new object instance
;TI"4p foo.to_s                  # original's class
;TI"Ffoo = WeakRef.new(foo)      # reassign foo with WeakRef instance
;TI"8p foo.to_s                  # should be same class
;TI"?GC.start                    # start the garbage collector
;TI"Dp foo.to_s                  # should raise exception (recycled);T:@format0:
@fileI"lib/weakref.rb;T:0@omit_headings_from_table_of_contents_below0;
0;0[[[[[I"
class;T[[:public[[I"new;TI"!../ruby-2.7.7/lib/weakref.rb;T[:protected[[:private[[I"
instance;T[[;[[I"weakref_alive?;T@,[;[[;[[[U:RDoc::Context::Section[i0o;;[;
0;0[I"lib/weakref.rb;T@ cRDoc::TopLevel