[前][次][番号順一覧][スレッド一覧]

ruby-changes:13554

From: marcandre <ko1@a...>
Date: Wed, 14 Oct 2009 23:08:32 +0900 (JST)
Subject: [ruby-changes:13554] Ruby:r25335 (trunk): * vm_eval.c (eval_string): rdoc fix

marcandre	2009-10-14 23:08:26 +0900 (Wed, 14 Oct 2009)

  New Revision: 25335

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=25335

  Log:
    * vm_eval.c (eval_string): rdoc fix [ruby-core:26086]

  Modified files:
    trunk/vm_eval.c

Index: vm_eval.c
===================================================================
--- vm_eval.c	(revision 25334)
+++ vm_eval.c	(revision 25335)
@@ -897,11 +897,10 @@
  *     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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]