diff options
author | Robin Dupret <robin.dupret@gmail.com> | 2015-01-03 16:36:33 +0100 |
---|---|---|
committer | Robin Dupret <robin.dupret@gmail.com> | 2015-01-03 16:36:33 +0100 |
commit | 9b9ec0ded4f8f65e17c2af856d2e3baa5382a47a (patch) | |
tree | c6a2176ae185b4e42c1160382a774616c75edd32 /activesupport/lib/active_support | |
parent | 4b9dba99d65b1bd27576b16a68d7d18522bae9ea (diff) | |
download | rails-9b9ec0ded4f8f65e17c2af856d2e3baa5382a47a.tar.gz rails-9b9ec0ded4f8f65e17c2af856d2e3baa5382a47a.tar.bz2 rails-9b9ec0ded4f8f65e17c2af856d2e3baa5382a47a.zip |
Fix a few typos [ci skip]
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r-- | activesupport/lib/active_support/core_ext/object/try.rb | 2 |
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 6b3fc48a3f..e0f70b9caa 100644 --- a/activesupport/lib/active_support/core_ext/object/try.rb +++ b/activesupport/lib/active_support/core_ext/object/try.rb @@ -63,7 +63,7 @@ class Object try!(*a, &b) if a.empty? || respond_to?(a.first) end - # Same as #try, but will raise a NoMethodError exception if the receiver is + # Same as #try, but raises a NoMethodError exception if the receiver is # not +nil+ and does not implement the tried method. # # "a".try!(:upcase) # => "A" |