Method: ModelRecord#version
- Defined in:
- lib/model/the_record.rb
#version ⇒ Object
Get the version of the object
100 101 102 103 104 105 106 |
# File 'lib/model/the_record.rb', line 100 def version # :nodoc: if document.present? document.version else [:version] end end |