remove unused functions for ruby 1.8
formatted
Merge pull request #298 from tdiary/remove-18-functions

remove unused functions for ruby 1.8