Method: Docman::Info#version_type

Defined in:
lib/docman/info.rb

#version_type(options = {}) ⇒ Object



48
49
50
51
# File 'lib/docman/info.rb', line 48

def version_type(options = {})
  return self['version_type'] if self.key? 'version_type'
  return state(options).nil? ? nil : state(options)['type']
end