diff --git a/ChangeLog b/ChangeLog index d7f44d8f41..1c17105ac0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Jun 13 07:08:40 2009 Nobuyoshi Nakada + + * 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 * vm_eval.c (rb_f_catch): updated rdoc about generalized argument, diff --git a/vm_eval.c b/vm_eval.c index c71fb5c332..596701e2c0 100644 --- a/vm_eval.c +++ b/vm_eval.c @@ -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