[ci skip] Replace `list` with `array`

This commit is contained in:
yui-knk 2015-04-18 00:04:43 +09:00
parent f7a61c2026
commit 581906de53
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ class Array
#
# Specifically:
#
# * If the argument is +nil+ an empty list is returned.
# * If the argument is +nil+ an empty array is returned.
# * Otherwise, if the argument responds to +to_ary+ it is invoked, and its result returned.
# * Otherwise, returns an array with the argument as its single element.
#

View File

@ -2428,7 +2428,7 @@ The method `Array.wrap` wraps its argument in an array unless it is already an a
Specifically:
* If the argument is `nil` an empty list is returned.
* If the argument is `nil` an empty array is returned.
* Otherwise, if the argument responds to `to_ary` it is invoked, and if the value of `to_ary` is not `nil`, it is returned.
* Otherwise, an array with the argument as its single element is returned.