fixed compability issue with ruby 1.9.3
Merge pull request #6 from electronick/master

fixed compatibility issue with ruby 1.9.3