I have a long running Ruby simulation in which data is stored to Ruby
hashes throughout the simulation. I’d like to be able to access the
hashes in memory from another Ruby script while the simulation is still
running to see what the progress of the simulation is (rather than
printing to the screen, using log4r, etc. Is this possible? If so, any
suggestions how to do so?