Flowdock
method

marshal_dump

Importance_0
v1_9_2_180 - Show latest stable - 0 notes - Class: Random
marshal_dump() public

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.