pub unsafe extern "C" fn rb_ary_replace(
copy: VALUE,
orig: VALUE,
) -> VALUEExpand description
Replaces the contents of the former object with the contents of the latter.
§@param[out] copy Destination object.
@param[in] orig Source object.
@exception rb_eTypeError orig has no implicit conversion to Array.
@exception rb_eFrozenError copy is frozen.
@return The passed copy.
@post copy’s former components are abandoned. It now has the
identical length and contents to orig.
Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3