Flowdock
method

initialize_copy

Importance_0
v1_9_3_125 - Show latest stable - 0 notes - Class: ARGF
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
argf_initialize_copy(VALUE argf, VALUE orig)
{
    ARGF = argf_of(orig);
    ARGF.argv = rb_obj_dup(ARGF.argv);
    if (ARGF.inplace) {
        const char *inplace = ARGF.inplace;
        ARGF.inplace = 0;
        ARGF.inplace = ruby_strdup(inplace);
    }
    return argf;
}
Register or log in to add new notes.