method

marshal_dump

v2_2_9 - Show latest stable - Class: Rational
marshal_dump()
private

No documentation available.

static VALUE
nurat_marshal_dump(VALUE self)
{
    VALUE a;
    get_dat1(self);

    a = rb_assoc_new(dat->num, dat->den);
    rb_copy_generic_ivar(a, self);
    return a;
}