Permalink
Browse files

oops fixed typo

  • Loading branch information...
1 parent af41d55 commit 51f5209dc13afd8399a7f8e7a15041e642d3775b @smartinez87 smartinez87 committed Apr 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 51f5209

Please sign in to comment.