make respond_to compatible with Ruby 2.x
Merge pull request #22 from hakunin/support/respond-to-ruby-v2.0-compatible

make respond_to compatible with Ruby 2.x