Ruby 2.0 compatibility fix.

This is a fix as mentioned in this issue: https://github.com/tatemae-consultancy/hominid/issues/55