I have just started using ruby after 15 years with Tcl/Tk/C/C++ 
and have encountered a problem trying to create a second 
toplevel window.  This was trivial in tcl.  In ruby the second 
window has the same object reference as the first, so everything 
gets packed together. 

Is this a bug or a feature of the ruby Tk implementation?

This is the extract:

$window['root'] = TkRoot.new { title "ttlog : version 2.2" }
puts $window['root']

$window['today'] = TkRoot.new { title "Todays news" }
puts $window['news']