aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVasiliy Ermolovich <younash@gmail.com>2012-05-12 13:31:30 +0300
committerVasiliy Ermolovich <younash@gmail.com>2012-05-12 13:31:30 +0300
commit219342b642bb3e965147364fabe6a02a8edea559 (patch)
tree7239784e3b83b7854e4cd6fbb6aa7bd5079a71ad
parentc78c29556e3fe338e4f8d27a917765a4f75c9b0d (diff)
downloadrails-219342b642bb3e965147364fabe6a02a8edea559.tar.gz
rails-219342b642bb3e965147364fabe6a02a8edea559.tar.bz2
rails-219342b642bb3e965147364fabe6a02a8edea559.zip
remove docs related to ruby 1.8 from Array#wrap
-rw-r--r--activesupport/lib/active_support/core_ext/array/wrap.rb3
1 files changed, 0 insertions, 3 deletions
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]