Sha256: 90ad06d48cc06a49ea4a5d51d4feab9562432a19725b4781188ac1798c201b77
Contents?: true
Size: 405 Bytes
Versions: 10
Compression:
Stored size: 405 Bytes
Contents
module Index module File class JSON < Basic def extension :json end def load Yajl::Parser.parse ::File.open(cache_path, 'r'), symbolize_keys: true end def dump hash hash.dump_json cache_path end def retrieve raise "Can't retrieve from marshalled file. Use text file." end end end end
Version data entries
10 entries across 10 versions & 1 rubygems