remove docs related to ruby 1.8 from Array#wrap
This commit is contained in:
parent
c78c29556e
commit
219342b642
@ -25,9 +25,6 @@ class Array
|
|||||||
# Array(:foo => :bar) # => [[:foo, :bar]]
|
# Array(:foo => :bar) # => [[:foo, :bar]]
|
||||||
# Array.wrap(: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:
|
# There's also a related idiom that uses the splat operator:
|
||||||
#
|
#
|
||||||
# [*object]
|
# [*object]
|
||||||
|
Loading…
Reference in New Issue
Block a user