ObjectSpace.each_object on crack
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.
Disclaimer: This is a publicly accessible database. The views and opinions of originators and contributors expressed on this site do not necessarily state or reflect those of DSC Limited. No representation or warranty is given as regards to any applicability of any suggestion, its accuracy or completeness.