If you'd like to see the source, http://github.com/Sophrinix/TryRuby
TryRuby's history (if I remember right) is that it comes straight from Hackety, so I don't think graphics displaying was really a consideration...
If you'd like to see the source, http://github.com/Sophrinix/TryRuby