Method: Rational#marshal_dump
- Defined in:
- rational.c
#marshal_dump ⇒ Object (private)
:nodoc:
1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 |
# File 'rational.c', line 1861
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;
}
|