diff --git a/activesupport/lib/active_support/core_ext/kernel.rb b/activesupport/lib/active_support/core_ext/kernel.rb index fe6f725bc09a3d53f8ad3dccbb0992f0ffe4a8ef..a2cb827d771e48960a62400ab76a400088be2476 100644 --- a/activesupport/lib/active_support/core_ext/kernel.rb +++ b/activesupport/lib/active_support/core_ext/kernel.rb @@ -10,7 +10,7 @@ module Kernel # # foo # => ['bar', 'baz'] # - def returning(value) #:nodoc: + def returning(value) yield value end