← recent

Announcing Inspectinator

I’ve been wanting to experiment with sinatra for a while, so I popped something off my things-to-do-someday list and put together Inspectinator.  It’s aim is pretty straight-forward: parse standard ruby #inspect strings into a more palatable form.  It parses a string into a system of nested objects, and displays it as a tree.  Some simple jQuery let’s you drill down to the level of detail you want.  You can also link to your results (like pastie for inspects).

Obviously #inspect output can be overridden to anything, but as long as it’s along the lines of standard ruby or rails forms, it should be parseable.  If you find something that won’t parse (or parses wrong), hit the link at the top (“Parse Error?”) and I’ll have a look.

It’s still in development, and I’m definitely open to thoughts/suggestions about improvements.