Dump the cached schema to the filename given in Marshal format.
# File lib/sequel/extensions/schema_caching.rb, line 49 def dump_schema_cache(file) File.open(file, 'wb'){|f| f.write(Marshal.dump(@schemas))} nil end
Dump the cached schema to the filename given unless the file already exists.
# File lib/sequel/extensions/schema_caching.rb, line 56 def dump_schema_cache?(file) dump_schema_cache(file) unless File.exist?(file) end
Generated with the Darkfish Rdoc Generator 2.