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

ruby-changes:12011

From: nobu <ko1@a...>
Date: Sat, 13 Jun 2009 07:09:00 +0900 (JST)
Subject: [ruby-changes:12011] Ruby:r23676 (trunk): * vm_eval.c (rb_f_local_variables): now returns symbols. a patch from

nobu	2009-06-13 07:08:46 +0900 (Sat, 13 Jun 2009)

  New Revision: 23676

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

  Log:
    * vm_eval.c (rb_f_local_variables): now returns symbols.  a patch from
      Run Paint Run Run at [ruby-core:23828].

  Modified files:
    trunk/ChangeLog
    trunk/vm_eval.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 23675)
+++ ChangeLog	(revision 23676)
@@ -1,3 +1,8 @@
+Sat Jun 13 07:08:40 2009  Nobuyoshi Nakada  <nobu@r...>
+
+	* vm_eval.c (rb_f_local_variables): now returns symbols.  a patch from
+	  Run Paint Run Run at [ruby-core:23828].
+
 Sat Jun 13 07:06:54 2009  Nobuyoshi Nakada  <nobu@r...>
 
 	* vm_eval.c (rb_f_catch): updated rdoc about generalized argument,
Index: vm_eval.c
===================================================================
--- vm_eval.c	(revision 23675)
+++ vm_eval.c	(revision 23676)
@@ -1363,7 +1363,7 @@
  *     for i in 1..10
  *        # ...
  *     end
- *     local_variables   #=> ["fred", "i"]
+ *     local_variables   #=> [:fred, :i]
  */
 
 static VALUE

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

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