diff options
author | Vasiliy Ermolovich <younash@gmail.com> | 2012-05-12 13:31:30 +0300 |
---|---|---|
committer | Vasiliy Ermolovich <younash@gmail.com> | 2012-05-12 13:31:30 +0300 |
commit | 219342b642bb3e965147364fabe6a02a8edea559 (patch) | |
tree | 7239784e3b83b7854e4cd6fbb6aa7bd5079a71ad | |
parent | c78c29556e3fe338e4f8d27a917765a4f75c9b0d (diff) | |
download | rails-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.rb | 3 |
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] |