aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorthoefer <mail@tomhoefer.de>2011-06-11 00:52:11 +0200
committerthoefer <mail@tomhoefer.de>2011-06-11 00:54:42 +0200
commit029290f3def838c5293929d5bc42d3b6e5662d32 (patch)
tree6a0f83a32bd4f86be644ee1fee38f3a848f74213 /activesupport
parent262a42b12ec188c14839d9b352ba545058221f4f (diff)
downloadrails-029290f3def838c5293929d5bc42d3b6e5662d32.tar.gz
rails-029290f3def838c5293929d5bc42d3b6e5662d32.tar.bz2
rails-029290f3def838c5293929d5bc42d3b6e5662d32.zip
Fixed minor typo: 'Arraw' to 'Array'
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/core_ext/array/wrap.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/array/wrap.rb b/activesupport/lib/active_support/core_ext/array/wrap.rb
index 7fabae3138..f420270dc4 100644
--- a/activesupport/lib/active_support/core_ext/array/wrap.rb
+++ b/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.