Skip to content

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

PStore#load_data

(::path file, true read_only) -> ::Hash[untyped, untyped]
(::path file, false read_only) -> [ ::Hash[untyped, untyped], ::String, ::Integer ]
load_data(file, read_only)

Load the given PStore file. If read_only is true, the unmarshalled Hash will be returned. If read_only is false, a 3-tuple will be returned: the unmarshalled Hash, a checksum of the data, and the size of the data.