method
initialize_copy
initialize_copy(p1)
public
Hide source
static VALUE time_init_copy(VALUE copy, VALUE time) { struct time_object *tobj, *tcopy; if (copy == time) return copy; time_modify(copy); GetTimeval(time, tobj); GetTimeval(copy, tcopy); MEMCPY(tcopy, tobj, struct time_object, 1); return copy; }