Make code work on Ruby 1.9

This may be the dumbest thing I’ve ever done with code.