summaryrefslogtreecommitdiff
path: root/vm_method.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 /vm_method.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 'vm_method.c')
-rw-r--r--vm_method.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vm_method.c b/vm_method.c
index f7b7534830..278941aefa 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -1152,20 +1152,20 @@ top_private(int argc, VALUE *argv)
* end
* class Cls
* include Mod
- * def callOne
+ * def call_one
* one
* end
* end
* Mod.one #=> "This is one"
* c = Cls.new
- * c.callOne #=> "This is one"
+ * c.call_one #=> "This is one"
* module Mod
* def one
* "This is the new one"
* end
* end
* Mod.one #=> "This is one"
- * c.callOne #=> "This is the new one"
+ * c.call_one #=> "This is the new one"
*/
static VALUE