summaryrefslogtreecommitdiffstats
path: root/marshal.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-06 07:23:40 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-06 07:23:40 +0000
commit4eaa23c83d56cef645c1a6448426737721340a4d (patch)
tree14ea964d4fed4d2e24fc3417fcd059a7ba59b995 /marshal.c
parentff592f7bf11c31a381a5a53c077e7ba74bded90e (diff)
downloadruby-4eaa23c83d56cef645c1a6448426737721340a4d.tar.gz
ruby-4eaa23c83d56cef645c1a6448426737721340a4d.tar.xz
ruby-4eaa23c83d56cef645c1a6448426737721340a4d.zip
* marshal.c (w_object): wrong method name in the message.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'marshal.c')
-rw-r--r--marshal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/marshal.c b/marshal.c
index c25212a71..e0d7d42be 100644
--- a/marshal.c
+++ b/marshal.c
@@ -649,7 +649,7 @@ w_object(obj, arg, limit, weak)
w_class(TYPE_DATA, obj, arg);
if (!rb_respond_to(obj, s_dump_data)) {
rb_raise(rb_eTypeError,
- "class %s needs to have instance method `marshal_dump'",
+ "class %s needs to have instance method `_dump_data'",
rb_obj_classname(obj));
}
v = rb_funcall(obj, s_dump_data, 0);