Method: Sequel::IndexCaching#dump_index_cache?

Defined in:
lib/sequel/extensions/index_caching.rb

#dump_index_cache?(file) ⇒ Boolean

Dump the index cache to the filename given unless the file already exists.

Returns:

  • (Boolean)


69
70
71
# File 'lib/sequel/extensions/index_caching.rb', line 69

def dump_index_cache?(file)
  dump_index_cache(file) unless File.exist?(file)
end