Array(arg) รข array
Instance Public methods
Returns arg
as an Array.
First tries to call Array#to_ary
on arg
, then Array#to_a.
Array(1..5) #=> [1, 2, 3, 4, 5]
Returns arg
as an Array.
First tries to call Array#to_ary
on arg
, then Array#to_a.
Array(1..5) #=> [1, 2, 3, 4, 5]
Please login to continue.