I would like to use the DragonRuby as a renderer for games/programs that are running on real Ruby in another process. The "main" process should send updates when needed (and should potentially be allowed to die and start later) to the "second" process that is the DragonRuby renderer. The problem I see here is that DragonRuby wants me to repeat the loop again and again instead of doing nothing while waiting for data. I wanted to use https://en.wikipedia.org/wiki/Named_pipe for communication where if you open it as a file the `gets` waits for data but here it seems that I can't wait. Another option would be make the 3rd (!) proxy updates-accumulating process with something like webrick and use `$gtk.http_get` but that seems to be overkill.
Or... I just didn't really try to run the DragonRuby yet -- maybe it's ok to stuck and not return from the `tick` iteration in time? But then I don't see where are docs on the `gtk` object to check if it can work with fifo -- grep gives me `gtk.read_file` examples but not `gets`.