aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/object/try.rb
diff options
context:
space:
mode:
authorSebastian Martinez <sebastian@wyeworks.com>2011-04-17 20:40:33 -0300
committerSebastian Martinez <sebastian@wyeworks.com>2011-04-17 20:40:33 -0300
commit9dfc2153270dcaa2f978ef52fbece99efc150bbc (patch)
tree66520ff30f242011de0d079ff30ee634af122537 /activesupport/lib/active_support/core_ext/object/try.rb
parent49e7555a5ed5463fdf13474259e285d41f171da8 (diff)
downloadrails-9dfc2153270dcaa2f978ef52fbece99efc150bbc.tar.gz
rails-9dfc2153270dcaa2f978ef52fbece99efc150bbc.tar.bz2
rails-9dfc2153270dcaa2f978ef52fbece99efc150bbc.zip
Formatting docs
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 341a6237cb..0977ac51e8 100644
--- a/activesupport/lib/active_support/core_ext/object/try.rb
+++ b/activesupport/lib/active_support/core_ext/object/try.rb
@@ -40,7 +40,7 @@ class NilClass
#
# === Examples
#
- # nil.try(:name) => nil
+ # nil.try(:name) # => nil
#
# Without try
# @person && @person.children.first && @person.children.first.name