Flowdock
method

initialize_copy

Importance_0
Ruby latest stable (v1_9_3_392) - 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.