From 029290f3def838c5293929d5bc42d3b6e5662d32 Mon Sep 17 00:00:00 2001 From: thoefer Date: Sat, 11 Jun 2011 00:52:11 +0200 Subject: Fixed minor typo: 'Arraw' to 'Array' --- activesupport/lib/active_support/core_ext/array/wrap.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport') 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 Kernel#Array, but there are some differences: # # * If the argument responds to +to_ary+ the method is invoked. Kernel#Array - # moves on to try +to_a+ if the returned value is +nil+, but Arraw.wrap returns + # moves on to try +to_a+ if the returned value is +nil+, but Array.wrap returns # such a +nil+ right away. # * If the returned value from +to_ary+ is neither +nil+ nor an +Array+ object, Kernel#Array # raises an exception, while Array.wrap does not, it just returns the value. -- cgit v1.2.3