Method: Sequel::IndexCaching#load_index_cache
- Defined in:
- lib/sequel/extensions/index_caching.rb
#load_index_cache(file) ⇒ Object
Replace the index cache with the data from the given file, which should be in Marshal format.
75 76 77 78 |
# File 'lib/sequel/extensions/index_caching.rb', line 75 def load_index_cache(file) @indexes = Marshal.load(File.read(file)) nil end |