mem_inspect walks Ruby's heaps giving you the contents of each slot. mem_inspect also includes viewers that will let you visualize the contents of Ruby's heap.
Eric Hodel
gem "mem_inspect", "~> 1.0.0"