Skip to content

Commit

Permalink
Variable re-naming
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfioravanti committed Mar 24, 2017
1 parent 1b817a4 commit 984d4dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/resume/cli/resume_node_types.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 984d4dc

Please sign in to comment.