░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
pplmvsvm
LOCATION:
/usr/share/ri/3.1.0/system/WeakRef
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: 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::BlankLine o; ;[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[ [U:RDoc::Constant[i I"VERSION;TI"WeakRef::VERSION;T:public0o;;[ ; @ ;0@ @cRDoc::NormalClass0[ [[I" class;T[[;[[I"new;TI"lib/weakref.rb;T[:protected[ [:private[ [I" instance;T[[;[[I"weakref_alive?;T@3[;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[@ @ cRDoc::TopLevel
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📁 RefError/
DIR
—
2026-01-17 03:50
📄 cdesc-WeakRef.ri
RI
1.2 KB
2025-10-01 20:48
EDIT
📄 new-c.ri
RI
441 B
2025-10-01 20:48
EDIT
📄 weakref_alive%3f-i.ri
RI
336 B
2025-10-01 20:48
EDIT