# Iterating over a hash of hash of hashes

**URL:** <https://www.ruby-forum.com/t/iterating-over-a-hash-of-hash-of-hashes/146208>\
**Category:** Ruby\
**Created:** [August 19, 2008, 2:37am UTC](https://www.ruby-forum.com/t/iterating-over-a-hash-of-hash-of-hashes/146208 "2008-08-19T02:37:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rooster](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/71c47a/32.png) [@rooster](https://www.ruby-forum.com/u/rooster)\
**Post date:** [August 19, 2008, 2:37am UTC](https://www.ruby-forum.com/t/iterating-over-a-hash-of-hash-of-hashes/146208/1 "2008-08-19T02:37:35Z")

</div>

Is there a more “rubyesque” idiom for iterating of a multi-dimensional  
hash other than the following:

workq\_dev.get\_all\_zapps.each do |k,v|  
print "#{k} ==\> "  
v.each do |k,v|  
puts "#{k} ==\> "  
puts v.class  
v.each { |k,v| puts “#{k} ==\> #{v}” }  
end  
end

thanks in advance!
