Skip to content
Browse files

Fixed minor typo: 'Arraw' to 'Array'

  • Loading branch information...
1 parent b3ade0c commit dfca4d1f081eed0ff948958ff9f8dd4ee1c62619 @thoefer2 thoefer2 committed with fxn Jun 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/core_ext/array/wrap.rb
View
2 activesupport/lib/active_support/core_ext/array/wrap.rb
@@ -14,7 +14,7 @@ class Array
# This method is similar in purpose to <tt>Kernel#Array</tt>, but there are some differences:
#
# * If the argument responds to +to_ary+ the method is invoked. <tt>Kernel#Array</tt>
- # moves on to try +to_a+ if the returned value is +nil+, but <tt>Arraw.wrap</tt> returns
+ # moves on to try +to_a+ if the returned value is +nil+, but <tt>Array.wrap</tt> returns
# such a +nil+ right away.
# * If the returned value from +to_ary+ is neither +nil+ nor an +Array+ object, <tt>Kernel#Array</tt>
# raises an exception, while <tt>Array.wrap</tt> does not, it just returns the value.

0 comments on commit dfca4d1

Please sign in to comment.
Something went wrong with that request. Please try again.