Support Ruby 2.2

Fix for #33.
Nice bug.