From: "Marco Kögler" Date: 2002-10-17T20:25:15+09:00 Subject: Subclass IO ... Hi! I'm writing an application with a graphical (OpenGL) console, which is running a Ruby interpreter internally. Obviously, I want all the output that Ruby generates to be displayed in my graphics console. Now, I found some piece of code using $defout to redirect the output done by print, puts, etc.. So, I thought, I would be able to achieve this, if I implement my own IO subclass, which I can then assign to $defout. Could anyone point me to some information telling me what methods to implement for a working IO subclass? Thanks, Marco