From 7079e5ae914bc1b935621b82d44282cc779e56ac Mon Sep 17 00:00:00 2001 From: Luka Vandervelden Date: Tue, 10 Dec 2019 21:04:00 +0100 Subject: [PATCH] Grooming. --- src/fs.cr | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fs.cr b/src/fs.cr index 5c0f7df..23f4df7 100644 --- a/src/fs.cr +++ b/src/fs.cr @@ -17,7 +17,7 @@ class FS::Hash(K, V) end # Used for n-n associations. - class NNPartitionData(V) + class Tags(V) property name : String property key_proc : Proc(V, Array(String)) @@ -26,7 +26,7 @@ class FS::Hash(K, V) end @partitions = [] of PartitionData(V) - @tags = [] of NNPartitionData(V) + @tags = [] of Tags(V) def initialize(@directory_name : String) Dir.mkdir_p data_path @@ -49,7 +49,7 @@ class FS::Hash(K, V) end def new_tags(name : String, &block : Proc(V, Array(String))) - @tags.push NNPartitionData(V).new name, block + @tags.push Tags(V).new name, block Dir.mkdir_p "#{@directory_name}/.by_nn_#{name}" end