# File lib/active_support/core_ext/object/misc.rb, line 40 def returning(value) ActiveSupport::Deprecation.warn('Kernel#returning has been deprecated in favor of Object#tap.', caller) yield(value) value end