summaryrefslogtreecommitdiff
path: root/marshal.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-03-05 20:25:08 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-03-05 20:25:08 +0000
commit18f4f0888513be990c164ecd5b3ea92e24570240 (patch)
tree5e1b033fb2b21d5158d84b65caffd35f9a602ad5 /marshal.c
parent7f1362a84e692ad84aa412d7b51490401b58efed (diff)
* class.c: fix camelCase to snake_case in documentation code examples.
patched by Andrew Grimm. fixes Bug #4469 * marshal.c: ditto. * proc.c: ditto. * sample/biorhythm.rb: ditto. * vm_eval.c: ditto. * vm_method.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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.