Ruby WeakRef and running garbage collection in tests

Recently, I was working with Puppet gem internals. I’ve found that each manifest run, which idea is to manage some properties of system, creates transaction object. Transaction object holds infomation about desried system state. By extending Puppet provided codebase using plain Ruby, I’ve noticed an issue. There is no API for fetching and accessing one…

Categorized as Ruby