diff options
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | marshal.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Sun Aug 7 04:42:36 2011 Eric Hodel <drbrain@segment7.net> + + * marshal.c (w_object): Fix exception message when _dump_data + is not defined on a T_DATA object. + Sat Aug 6 06:14:20 2011 Eric Hodel <drbrain@segment7.net> * lib/rdoc: Update to 3.9.1. Fixes === lines in verbatim sections. @@ -824,7 +824,7 @@ w_object(VALUE obj, struct dump_arg *arg, int limit) if (!rb_respond_to(obj, s_dump_data)) { rb_raise(rb_eTypeError, - "no marshal_dump is defined for class %s", + "no _dump_data is defined for class %s", rb_obj_classname(obj)); } v = rb_funcall(obj, s_dump_data, 0); |
