Use send instead of public_send.

- #public_send is not available in ruby 1.8.