aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/object/try.rb
diff options
context:
space:
mode:
authorR.T. Lechow <rtlechow@gmail.com>2011-03-03 23:14:18 -0500
committerXavier Noria <fxn@hashref.com>2011-03-05 11:56:34 +0100
commit273700cbd0f8e9013fd4b4a33ab310e4ac02ff62 (patch)
tree60faf20101fcf22397680615a41c7a485957b696 /activesupport/lib/active_support/core_ext/object/try.rb
parent48841dd6aebd41cfab66f719f3d6896e172d7b9f (diff)
downloadrails-273700cbd0f8e9013fd4b4a33ab310e4ac02ff62.tar.gz
rails-273700cbd0f8e9013fd4b4a33ab310e4ac02ff62.tar.bz2
rails-273700cbd0f8e9013fd4b4a33ab310e4ac02ff62.zip
Active Support typos.
Diffstat (limited to 'activesupport/lib/active_support/core_ext/object/try.rb')
-rw-r--r--activesupport/lib/active_support/core_ext/object/try.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/object/try.rb b/activesupport/lib/active_support/core_ext/object/try.rb
index ff812234e3..04619124a1 100644
--- a/activesupport/lib/active_support/core_ext/object/try.rb
+++ b/activesupport/lib/active_support/core_ext/object/try.rb
@@ -21,7 +21,7 @@ class Object
# Person.try(:find, 1)
# @people.try(:collect) {|p| p.name}
#
- # Without a method argument try will yield to the block unless the reciever is nil.
+ # Without a method argument try will yield to the block unless the receiver is nil.
# @person.try { |p| "#{p.first_name} #{p.last_name}" }
#--
# +try+ behaves like +Object#send+, unless called on +NilClass+.