fixes warning in ruby 2.1.1
Merge pull request #3 from orlando/master

fixes warning in ruby 2.1.1