Module: Sequel::Plugins::StaticCacheCache::ClassMethods
- Defined in:
- lib/sequel/plugins/static_cache_cache.rb
Instance Method Summary collapse
- 
  
    
      #dump_static_cache_cache  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Dump the in-memory cached rows to the cache file. 
Instance Method Details
#dump_static_cache_cache ⇒ Object
Dump the in-memory cached rows to the cache file.
| 28 29 30 31 | # File 'lib/sequel/plugins/static_cache_cache.rb', line 28 def dump_static_cache_cache File.open(@static_cache_cache_file, 'wb'){|f| f.write(Marshal.dump(sort_static_cache_hash(@static_cache_cache)))} nil end |