Variable Trace Library -- request for comments

Hi folks. The only gripe I’ve had with ruby is the inability to trace
variables (other than globals of course). So I’ve written some code to
do this. I would really like to hear any comments/advice/suggestions:
http://www.cfa.harvard.edu/~dcurley/trace.rb.txt

Thanks in advance!
Dylan.