Works with ruby 2.0 

And I have added a readme, describing how to use.