fix for ruby 2.1, define_method returns :symbol
Merge pull request #30 from pomnikita/master

fix for ruby 2.1, define_method returns :symbol