summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-03-07 08:44:45 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-03-07 08:44:45 +0000
commit1df42597d15416357a20bd68700ce1a2d245e8bb (patch)
treef588f28559958e27464866d7b137955bfff04a6f /proc.c
parentfc634cc092f486adfc911f614b7b4aa2c48c698d (diff)
cancel subversion backfire. sorry
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/proc.c b/proc.c
index 18c7393536..f81118ae61 100644
--- a/proc.c
+++ b/proc.c
@@ -336,10 +336,10 @@ rb_binding_new(void)
* calling +eval+ to execute the evaluated command in this
* environment. Also see the description of class +Binding+.
*
- * def getBinding(param)
+ * def get_binding(param)
* return binding
* end
- * b = getBinding("hello")
+ * b = get_binding("hello")
* eval("param", b) #=> "hello"
*/
@@ -358,10 +358,10 @@ rb_f_binding(VALUE self)
* <em>lineno</em> parameters are present, they will be used when
* reporting syntax errors.
*
- * def getBinding(param)
+ * def get_binding(param)
* return binding
* end
- * b = getBinding("hello")
+ * b = get_binding("hello")
* b.eval("param") #=> "hello"
*/
@@ -2211,15 +2211,15 @@ Init_Proc(void)
* def initialize(n)
* @secret = n
* end
- * def getBinding
+ * def get_binding
* return binding()
* end
* end
*
* k1 = Demo.new(99)
- * b1 = k1.getBinding
+ * b1 = k1.get_binding
* k2 = Demo.new(-3)
- * b2 = k2.getBinding
+ * b2 = k2.get_binding
*
* eval("@secret", b1) #=> 99
* eval("@secret", b2) #=> -3