Sha256: 35d8680101fa6670913fa9d038ceb5ee95a794ec7758888bad8c5a656543515b
Contents?: true
Size: 395 Bytes
Versions: 12
Compression:
Stored size: 395 Bytes
Contents
module Index module File class Marshal < Basic def extension :dump end def load ::Marshal.load ::File.open(cache_path, 'r:binary') end def dump hash hash.dump_marshalled cache_path end def retrieve raise "Can't retrieve from marshalled file. Use text file." end end end end
Version data entries
12 entries across 12 versions & 1 rubygems