I wrote a simple FXRuby program that displays a message in a window on
the desktop. I would like to make this window go away after a set
amount of time (e.g. 30 minutes if left alone).
I’m new to scripting in Ruby, so I don’t know how to do this. Can
anyone offer me any suggestions or pointers as to how I can implement
a configurable timer that will automatically shut down the window when
the time is up?
My program is similar to one of the ‘hello’ examples on the FXRuby
I’ve browsed through the Programming Ruby book but I didn’t see any
default classes or methods that would help me do this.