Ruby objects have a nice-for-debugging method called inspect. Dumping objects isn’t something that I only ever want to do in Ruby. In fact, for the bug I’m looking at right now, I think it’s related to a settings object that doesn’t get updated, and the easiest way to watch the settings object is to Inspect().

So, I present, Inspect.cs (and tests).

Advertisements