{"schema_version":1,"metadata":{"branch":"current","release":"7.9","architecture":"amd64","generated_at":"2026-09-09T04:04:41.004595+00:00","source_url":"https://cdn.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/sqlports-7.55.tgz","source_sha256":"fcdbba1b9df747882aa9bab4af20ebec8dac10655069c90f1cd4145c06e1235e","package_count":12031,"source_kind":"sqlports"},"package":{"name":"ruby40-ref-1.0.5","path":"devel/ruby-ref","url":"/packages/current/devel/ruby-ref/","comment":"object reference utilities for ruby","homepage":"https://github.com/bdurand/ref","maintainer":"The OpenBSD ports mailing-list <ports@openbsd.org>","description":"ruby-ref provides object references for Ruby as well as some common\nutilities for working with references. Object references are used to\npoint to other objects and come in three distinct flavors that interact\ndifferently with the garbage collector.\n\n* Ref::StrongReference - This is a plain old pointer to another object.\n\n* Ref::WeakReference - This is a pointer to another object, but it is\nnot seen by the garbage collector and the memory used by the object can\nbe reclaimed at any time.\n\n* Ref::SoftReference - This is similar to a weak reference, but the\ngarbage collector is not as eager to reclaim the referenced object.\n\nAll of these classes extend from a common Ref::Reference class and have\na common interface.\n\nWeak and soft references are useful when you have instantiated objects\nthat you may want to use again but can recreate if necessary. Since the\ngarbage collector determines when to reclaim the memory used by the\nobjects, you don't need to worry about bloating the Ruby heap.\n","package_architecture":"*","stem":"ruby40-ref","readme":null,"dependencies":[{"path":"lang/ruby/4.0","type":"runtime","package_spec":"","url":"/packages/current/lang/ruby/4.0/"},{"path":"lang/ruby/4.0","type":"build","package_spec":"","url":"/packages/current/lang/ruby/4.0/"}],"reverse_dependencies":{"count":0,"url":null},"categories":["devel","lang/ruby"],"flavors":["ruby33","ruby34","ruby40"],"only_for_architectures":[],"not_for_architectures":[]}}
