Fix Kernel::returning deprecation messages

This pull request fixes "DEPRECATION WARNING: Kernel#returning has been deprecated in favor of Object#tap.".