diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-03-17 08:58:21 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-03-17 08:58:21 +0000 |
commit | 5c13dd59db1ee6c04cdac4ce2ee97d5934115439 (patch) | |
tree | b7027454a641e7c51404b316cb9b0b28f66acd3d /lib/debug.rb | |
parent | d8f981b972aab02d1432abe1c9cadf0507945e77 (diff) | |
download | ruby-5c13dd59db1ee6c04cdac4ce2ee97d5934115439.tar.gz |
2000-03-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/debug.rb')
-rw-r--r-- | lib/debug.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/debug.rb b/lib/debug.rb index 4497fd161d..b9a1d5f1c5 100644 --- a/lib/debug.rb +++ b/lib/debug.rb @@ -445,9 +445,9 @@ class DEBUGGER__ n += 1 break unless bind if pos == n - stdout.printf "--> #%d %s:%s%s\n", n, file, line, id != 0 ? ":in `#{id.id2name}'":"" + stdout.printf "--> #%d %s:%s%s\n", n, file, line, id ? ":in `#{id.id2name}'":"" else - stdout.printf " #%d %s:%s%s\n", n, file, line, id != 0 ? ":in `#{id.id2name}'":"" + stdout.printf " #%d %s:%s%s\n", n, file, line, id ? ":in `#{id.id2name}'":"" end end end |