Method: OcflTools::OcflValidator#inventory

Defined in:
lib/ocfl_tools/ocfl_validator.rb

#inventoryOcflTools::OcflInventory (readonly)

Returns an OcflInventory instance that represents an inventory.json file, if the directory contains a valid OCFL object.

Returns:

  • (OcflTools::OcflInventory)

    an OcflInventory instance that represents an inventory.json file, if the directory contains a valid OCFL object.



16
17
18
# File 'lib/ocfl_tools/ocfl_validator.rb', line 16

def inventory
  @inventory
end