Registry / utility / ref
library2.0.0rbrubygemsunverified

Library that implements weak, soft, and strong references in Ruby across multiple runtimes (MRI, JRuby, Rubinius), including reference-based maps and queues.

gem install ref
INSTALL
IMPORT
SIG · REF
R
ref
utilityrubyv2.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Ref
require 'ref'

Create a weak reference to an object

require 'ref' weak_ref = Ref::WeakReference.new("hello") puts weak_ref.object # => "hello"
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
ref — gem install ref · libregistry