aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/kernel.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-04-18 10:56:19 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-04-18 10:56:19 +0000
commita37b8b33d4d5da6a671205551bf4473cea2a4692 (patch)
treee37e31aff9ed67e3f8aad0fad9a57cb7b9ad67f6 /activesupport/lib/active_support/core_ext/kernel.rb
parentc35ad2d508e037ebd522d7a3b0a29fd26c68aece (diff)
downloadrails-a37b8b33d4d5da6a671205551bf4473cea2a4692.tar.gz
rails-a37b8b33d4d5da6a671205551bf4473cea2a4692.tar.bz2
rails-a37b8b33d4d5da6a671205551bf4473cea2a4692.zip
Do document this...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1207 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/lib/active_support/core_ext/kernel.rb')
-rw-r--r--activesupport/lib/active_support/core_ext/kernel.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/kernel.rb b/activesupport/lib/active_support/core_ext/kernel.rb
index fe6f725bc0..a2cb827d77 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