elements(array, copy = true)
public
Creates a vector from an Array. The optional
second argument specifies whether the array itself or a copy is used
internally.
Show source
def Vector.elements(array, copy = true)
new convert_to_array(array, copy)
end