From 219342b642bb3e965147364fabe6a02a8edea559 Mon Sep 17 00:00:00 2001 From: Vasiliy Ermolovich Date: Sat, 12 May 2012 13:31:30 +0300 Subject: remove docs related to ruby 1.8 from Array#wrap --- activesupport/lib/active_support/core_ext/array/wrap.rb | 3 --- 1 file changed, 3 deletions(-) (limited to 'activesupport/lib/active_support') diff --git a/activesupport/lib/active_support/core_ext/array/wrap.rb b/activesupport/lib/active_support/core_ext/array/wrap.rb index 4834eca8b1..9ea93d7226 100644 --- a/activesupport/lib/active_support/core_ext/array/wrap.rb +++ b/activesupport/lib/active_support/core_ext/array/wrap.rb @@ -25,9 +25,6 @@ class Array # Array(:foo => :bar) # => [[:foo, :bar]] # Array.wrap(:foo => :bar) # => [{:foo => :bar}] # - # Array("foo\nbar") # => ["foo\n", "bar"], in Ruby 1.8 - # Array.wrap("foo\nbar") # => ["foo\nbar"] - # # There's also a related idiom that uses the splat operator: # # [*object] -- cgit v1.2.3