add Asset#path_id

This commit is contained in:
Ishotihadus
2020-06-20 17:56:42 +09:00
parent d37c72de80
commit 9a520637e9
+6
View File
@@ -103,6 +103,12 @@ module Mikunyan
@objects.each(&block)
end
# Returns object with specified path ID
# @return [ObjectEntry,nil]
def path_id(id)
@path_id_table[id]
end
# Returns list of all path IDs
# @return [Array<Integer>] list of all path IDs
def path_ids