aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorSebastian Martinez <sebastian@wyeworks.com>2011-04-18 09:34:51 -0300
committerSebastian Martinez <sebastian@wyeworks.com>2011-04-18 09:34:51 -0300
commit51f5209dc13afd8399a7f8e7a15041e642d3775b (patch)
tree0b8df43d0fcee0543c48d6dcd8b551c92fbc1d2e /activesupport/lib
parentaf41d5540b0bab8c8cee8cbc7cbfb8fab0676518 (diff)
downloadrails-51f5209dc13afd8399a7f8e7a15041e642d3775b.tar.gz
rails-51f5209dc13afd8399a7f8e7a15041e642d3775b.tar.bz2
rails-51f5209dc13afd8399a7f8e7a15041e642d3775b.zip
oops fixed typo
Diffstat (limited to 'activesupport/lib')
-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 c2a3abbc7c..aedf5c8c82 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
#
- # nill.try(:name) # => nil
+ # nil.try(:name) # => nil
#
# Without +try+
# @person && !@person.children.blank? && @person.children.first.name