Abstract base class for storage backends.
All storage implementations must inherit from this class.
Instance methods
clear
Clear all data (useful for testing)
SourceCount objects of a given class
SourceDelete an object by its class name and ID
Sourcedelete(object : Serializable | Container)
SourceCheck if an object exists
Sourceexport_data
Export all data as a hash structure
SourceImport data from a hash structure
SourceList all object IDs of a given class
Sourcelist_all_objects
List all objects, grouped by class name
SourceLoad an object by class and ID
Sourcesave(object :
Serializable, path :
String |
Nil = nil)
Save a Serializable object
Source