Ruby 2.0 compatibility

Three cheers for Ruby 2.0!
Merge pull request #5 from JustinAiken/patch-1

Ruby 2.0 compatibility