Sha256: 31a727c89e1c1a7f35b0cc4de4271a9f5b76bc251a2b9f6dcc788de378d39f98
Contents?: true
Size: 819 Bytes
Versions: 22
Compression:
Stored size: 819 Bytes
Contents
require "inventory_refresh/inventory_collection/index/type/base" module InventoryRefresh class InventoryCollection module Index module Type class Data < InventoryRefresh::InventoryCollection::Index::Type::Base # Find value based on index_value # # @param index_value [String] a index_value of the InventoryObject we search in data def find(index_value) index[index_value] end # Deletes and returns the value on the index_value # # @param index_value [String] a index_value of the InventoryObject we search for # @return [InventoryObject|nil] Returns found value or nil def delete(index_value) index.delete(index_value) end end end end end end
Version data entries
22 entries across 22 versions & 1 rubygems