pstore
pstore copied to clipboard
PStore implements a file based persistence mechanism based on a Hash.
By freezing constants and using a shareable Proc with define_method, pstore becomes more Ractor-compliant.
## Why Hello. :wave: With the release of Version 0.2.0, especially this [commit](https://github.com/ruby/pstore/pull/2/commits/fa564a69650f635d0c4d89f8edc9cd363617e633), you'll now get a `Ractor::IsolationError` when writing data. ## How Here's the quickest way I could reproduce...
```ruby store = YAML::Store.new( store_file, false, # for thread_safe, true or false yaml_options: { permitted_classes: permitted_classes_list, aliases: true # Allow YAML aliases if you use them } ) ``` I...