From 984d4dcfc094fd70861eea2d4eee552a523f4de5 Mon Sep 17 00:00:00 2001 From: Paul Fioravanti Date: Sat, 25 Mar 2017 06:34:58 +1100 Subject: [PATCH] Variable re-naming --- lib/resume/cli/resume_node_types.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/resume/cli/resume_node_types.rb b/lib/resume/cli/resume_node_types.rb index 9043174b..fde0bde5 100644 --- a/lib/resume/cli/resume_node_types.rb +++ b/lib/resume/cli/resume_node_types.rb @@ -3,9 +3,9 @@ module CLI module ResumeNodeTypes module_function - def key_of_type?(hash, key, collection_type) + def key_of_type?(hash, key, type) return false unless hash.length == 1 - hash.key?(key) && hash[key].is_a?(collection_type) + hash.key?(key) && hash[key].is_a?(type) end module AlignValue