summaryrefslogtreecommitdiff
path: root/rational.c
diff options
context:
space:
mode:
Diffstat (limited to 'rational.c')
-rw-r--r--rational.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rational.c b/rational.c
index afa4bd4..626d295 100644
--- a/rational.c
+++ b/rational.c
@@ -1583,6 +1583,7 @@ nurat_marshal_dump(VALUE self)
get_dat1(self);
a = rb_assoc_new(dat->num, dat->den);
+ rb_copy_generic_ivar(a, self);
return a;
}