Module: StrokeDB::VersionedDocument
- Defined in:
- lib/document/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!
666 667 668 |
# File 'lib/document/document.rb', line 666 def reload store.find(uuid, version) end |