summaryrefslogtreecommitdiff
path: root/marshal.c
diff options
context:
space:
mode:
Diffstat (limited to 'marshal.c')
-rw-r--r--marshal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/marshal.c b/marshal.c
index 808aa0f9af..03537395c8 100644
--- a/marshal.c
+++ b/marshal.c
@@ -876,7 +876,7 @@ clear_dump_arg(struct dump_arg *arg)
* def initialize(str)
* @str = str
* end
- * def sayHello
+ * def say_hello
* @str
* end
* end
@@ -886,7 +886,7 @@ clear_dump_arg(struct dump_arg *arg)
* o = Klass.new("hello\n")
* data = Marshal.dump(o)
* obj = Marshal.load(data)
- * obj.sayHello #=> "hello\n"
+ * obj.say_hello #=> "hello\n"
*
* Marshal can't dump following objects:
* * anonymous Class/Module.