Use reference instead of primitive

This commit is contained in:
Leeingnyo
2021-09-14 23:07:47 +09:00
parent 670cf54957
commit 9489d6abfd
3 changed files with 19 additions and 12 deletions
+3 -3
View File
@@ -143,10 +143,10 @@ class Library
storage = Storage.new auto_close: false
examine_context : ExamineContext = {
file_count: 0,
file_counter: (YieldCounter.new 1000),
cached_contents_signature: {} of String => String,
deleted_title_ids: [] of String,
deleted_entry_ids: [] of String
deleted_title_ids: [] of String,
deleted_entry_ids: [] of String,
}
@title_ids.select! do |title_id|