Closed codesnik closed 10 years ago
I just applied this fix to similar code within equalizer, eg: https://github.com/dkubb/equalizer/blob/master/lib/equalizer.rb#L66-L71
Thanks, I'm gonna merge it in even though there's no test covering this as it's a deprecated module anyway and I'll remove it in 2.0.0. Once new equalizer is released I will bump its dependency here and release new version of virtus.
Array#hash is designed to be uniform, unlike reduce(:^).hash