This thread might be of interest:
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/108521
-Charlie