Kyle Schmitt wrote:

> Are there GUI builders for Ruby that allow one to truly divorce the
> GUI from the logic?  

With wxRuby you can use any of a number of free and commercial designers and save the results as XRC. It's an XML format describing the layout; you load it in Ruby and hook up the event handling etc logic there. It's a similar idea to Glade, except it gives you native widgets on Windows and OS X.

http://en.wikipedia.org/wiki/WxWidgets#IDE_and_RAD_tools

> I suppose one good question would be the _right_ way to to make GUIs
> for ruby scripts.  Really just inheriting the GUI class, making a
> separate gui and worker object  and glue code between them?

I doubt there's one right way. Having a well thought-out set of application classes is a good start; unit tests can help. Beyond that strictly separating GUI layout from event handling (eg by XRC) is one strategy. But with Ruby's concise, adaptable syntax and mix-ins, writing GUI programs using just inheritance and pure ruby is worth considering. But current GUI libraries tend to betray their C/C++ derivation so GUI layout code in Ruby still ends up looking clunky.

http://wxruby.rubyforge.org/wiki/wiki.pl?WxSugar

alex