Module: Taxonifi::Utils::Hash
- Defined in:
- lib/taxonifi/utils/hash.rb
Class Method Summary collapse
-
.build_hash_of_hashes_with_keys(keys) ⇒ Object
Return an Array of length size of black Arrays.
Class Method Details
.build_hash_of_hashes_with_keys(keys) ⇒ Object
Return an Array of length size of black Arrays
6 7 8 9 10 11 12 |
# File 'lib/taxonifi/utils/hash.rb', line 6 def self.build_hash_of_hashes_with_keys(keys) h = {} keys.each do |k| h[k] = {} end h end |