summaryrefslogtreecommitdiffstats
path: root/vm_eval.c
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-14 14:08:26 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-14 14:08:26 +0000
commit8d72dc3a6bed99219670838796dfc398b4e28c5e (patch)
tree7f885bc5bba0460403e73c37eea4ae04de013fe8 /vm_eval.c
parent0ce68e33d26950cd336c20f92bd1412a7888d2c0 (diff)
downloadruby-8d72dc3a6bed99219670838796dfc398b4e28c5e.tar.gz
ruby-8d72dc3a6bed99219670838796dfc398b4e28c5e.tar.xz
ruby-8d72dc3a6bed99219670838796dfc398b4e28c5e.zip
* vm_eval.c (eval_string): rdoc fix [ruby-core:26086]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_eval.c')
-rw-r--r--vm_eval.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/vm_eval.c b/vm_eval.c
index 8597bfb06..967e24c69 100644
--- a/vm_eval.c
+++ b/vm_eval.c
@@ -897,11 +897,10 @@ eval_string(VALUE self, VALUE src, VALUE scope, const char *file, int line)
* eval(string [, binding [, filename [,lineno]]]) => obj
*
* Evaluates the Ruby expression(s) in <em>string</em>. If
- * <em>binding</em> is given, the evaluation is performed in its
- * context. The binding may be a <code>Binding</code> object or a
- * <code>Proc</code> object. If the optional <em>filename</em> and
- * <em>lineno</em> parameters are present, they will be used when
- * reporting syntax errors.
+ * <em>binding</em> is given, which must be a <code>Binding</code>
+ * object, the evaluation is performed in its context. If the
+ * optional <em>filename</em> and <em>lineno</em> parameters are
+ * present, they will be used when reporting syntax errors.
*
* def getBinding(str)
* return binding