method

marshal_dump

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: Random
marshal_dump() private

No documentation

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

Hide source
static VALUE
random_dump(VALUE obj)
{
    rb_random_t *rnd = get_rnd(obj);
    VALUE dump = rb_ary_new2(3);

    rb_ary_push(dump, mt_state(&rnd->mt));
    rb_ary_push(dump, INT2FIX(rnd->mt.left));
    rb_ary_push(dump, rnd->seed);

    return dump;
}
Register or log in to add new notes.