diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-06-29 08:34:21 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-06-29 08:34:21 +0000 |
commit | 61da57c571d34affd563a54702694c6453316253 (patch) | |
tree | ada1cf44467d53f167b54e78643d6940c427c622 /lib | |
parent | f00ea57ce1fe0bfe137d76703b1bdc4d2293c781 (diff) |
* lib/debug.rb: ivar access bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/debug.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/debug.rb b/lib/debug.rb index 9e777952ad..2216f3a4df 100644 --- a/lib/debug.rb +++ b/lib/debug.rb @@ -195,7 +195,7 @@ class DEBUGGER__ when /^\s*i(?:nstance)?\s+/ obj = debug_eval($', binding) - var_list(obj.instance_variables, binding) + var_list(obj.instance_variables, obj.instance_eval{binding()}) when /^\s*c(?:onst(?:ant)?)?\s+/ obj = debug_eval($', binding) |