From: Stefano Mioli Date: 2011-07-16T03:16:57+09:00 Subject: Re: Comparing hashes based on their keys On 7/15/11 7:21 PM, Josh Cheek wrote: > What would be especially cool is if you could post your specs, then it would > be a lot easier to try and refactor it. Here are the specs: https://gist.github.com/1085197 And here is a slightly modified version of the code that adds the method to Hash, as suggested by Rob Biederhan. https://gist.github.com/1084916 @Rob Biederhan: I removed the check that ensures that all the keys are symbols, because I know they will be. -- Stefano Mioli