aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/object/try.rb
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2015-09-24 14:38:15 +0200
committerKasper Timm Hansen <kaspth@gmail.com>2015-09-24 14:38:15 +0200
commit44cff3045c5d98fb368e86949dd0973ee768c409 (patch)
treeab7c2edc0aa5a38db30153cebb2f9502f46e635c /activesupport/lib/active_support/core_ext/object/try.rb
parent8516d76c621bb679666f6c452a052c84feed11c4 (diff)
parent4a2bac24aa1830c4feee507da6b55fd04ec453ed (diff)
downloadrails-44cff3045c5d98fb368e86949dd0973ee768c409.tar.gz
rails-44cff3045c5d98fb368e86949dd0973ee768c409.tar.bz2
rails-44cff3045c5d98fb368e86949dd0973ee768c409.zip
Merge pull request #21746 from amitsuroliya/doc_fixes
Improve readability of docs by using code tag [ci skip]
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 c67eb25b68..8c16d95b62 100644
--- a/activesupport/lib/active_support/core_ext/object/try.rb
+++ b/activesupport/lib/active_support/core_ext/object/try.rb
@@ -94,7 +94,7 @@ class Object
# :call-seq:
# try!(*a, &b)
#
- # Same as #try, but raises 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"