module Sequel::Plugins::StaticCacheCache::ClassMethods

  1. lib/sequel/plugins/static_cache_cache.rb

Methods

Public Instance

  1. dump_static_cache_cache

Public Instance methods

dump_static_cache_cache()

Dump the in-memory cached rows to the cache file.

[show source]
   # File lib/sequel/plugins/static_cache_cache.rb
28 def dump_static_cache_cache
29   File.open(@static_cache_cache_file, 'wb'){|f| f.write(Marshal.dump(sort_static_cache_hash(@static_cache_cache)))}
30   nil
31 end