The Tiniest Patch in the World [review request] OrderedHash should not pretend to be an Array #1782

I just submitted The Tiniest Patch in the World. This patch adds an #inspect method to ActiveSupport::OrderedHash to make the display of OrderedHashes more obvious in order to avoid confusion of them with Arrays (which their current #inspect makes them appear to resemble). Here is the patch on Lighthouse:

And here is a pastie with some example output:

Output format was developed in conversation with technoweenie on The Twitter.

Thanks, in advance,

Greg Borenstein

Tiniest patch? I think not!

1 char, plus tests: