Rubob (Ruby Object Browser) 0.0.3 released
After literally a year of not finding time for finishing touches, I decided to finally just release what I have. It works fine, after all.
Rubob is based on a little tool I wrote together with Matthias Hopf in 1997 or so to play with the Java Reflection API. When I started working with Ruby almost a decade later, I realized how much easier it would be in Ruby, so I rewrote it. And then it sat there...
So what does it do?
Rubob generates a hyperlinked Web-view of your program while it runs. It can very easily be added to any existing application (one line of code).
With Rubob, every object in the system has a corresponding URL. When you access that URL, Rubob generates a Web page that contains a human readable version of the object. All instance variables are hyperlinked to the URL for their value; so you can click your way through from object to object to explore the state of your program while it's running.
Certain classes, such as Array and Hash, have a custom representation that makes their content easier to explore.
You can add your own custom representation of objects using a simple API that I'll explain when I have some time.
Here is the code.
Enjoy!