diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-12 22:08:46 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-12 22:08:46 +0000 |
| commit | 9a59b7a099fc551c7f0cde78a4b93f47f6bfcc1a (patch) | |
| tree | d967a2db284685d4e38f34c454b2c05a2373d572 | |
| parent | 1a83fc2304d956c3a16e56bb30296f6d07655795 (diff) | |
| download | ruby-9a59b7a099fc551c7f0cde78a4b93f47f6bfcc1a.tar.gz ruby-9a59b7a099fc551c7f0cde78a4b93f47f6bfcc1a.tar.xz ruby-9a59b7a099fc551c7f0cde78a4b93f47f6bfcc1a.zip | |
* vm_eval.c (rb_f_local_variables): now returns symbols. a patch from
Run Paint Run Run at [ruby-core:23828].
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | vm_eval.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Sat Jun 13 07:08:40 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * 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@ruby-lang.org> * vm_eval.c (rb_f_catch): updated rdoc about generalized argument, @@ -1363,7 +1363,7 @@ rb_backtrace_each(rb_backtrace_iter_func *iter, void *arg) * for i in 1..10 * # ... * end - * local_variables #=> ["fred", "i"] + * local_variables #=> [:fred, :i] */ static VALUE |
