Support ruby 1.9
Merge pull request #2 from nobu/for-1.9

Support ruby 1.9