initialize_copy(p1) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
static VALUE
strio_copy(VALUE copy, VALUE orig)
    struct StringIO *ptr;

    orig = rb_convert_type(orig, T_DATA, "StringIO", "to_strio");
    if (copy == orig) return copy;
    ptr = StringIO(orig);
    if (check_strio(copy)) {
    DATA_PTR(copy) = ptr;
    OBJ_INFECT(copy, orig);
    return copy;
Register or log in to add new notes.