Method: OcflTools::OcflObject#type

Defined in:
lib/ocfl_tools/ocfl_object.rb

#typeString

Returns the version of the OCFL spec to which this object conforms, expressed as a URL, as required by the OCFL specification.

Returns:

  • (String)

    the version of the OCFL spec to which this object conforms, expressed as a URL, as required by the OCFL specification.



25
26
27
# File 'lib/ocfl_tools/ocfl_object.rb', line 25

def type
  @type
end