Module: StrokeDB::VersionedDocument
- Defined in:
- lib/strokedb/document.rb
Overview
VersionedDocument is a module that is being added to all document’s of specific version. It should not be accessed directly
Instance Method Summary collapse
-
#reload ⇒ Object
Reloads the same version of the same document from store.
Instance Method Details
#reload ⇒ Object
Reloads the same version of the same document from store. All unsaved changes will be lost!
771 772 773 |
# File 'lib/strokedb/document.rb', line 771 def reload store.find(uuid, version) end |