diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-05-09 04:53:16 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-05-09 04:53:16 +0000 |
commit | 655e96fa59f62f7d31b2d9d470947f97aceb7b92 (patch) | |
tree | 6b6bb0a6ce9e46b326dbde9378c3791a54be1dd5 /lib/debug.rb | |
parent | 2a34f89e354071d09c64a93bf3498dfa108f3e8c (diff) |
2000-05-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@682 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 8af0aab96d..2f61e8da34 100644 --- a/lib/debug.rb +++ b/lib/debug.rb @@ -1,5 +1,5 @@ # Copyright (C) 2000 Network Applied Communication Laboratory, Inc. -# Copyright (C) 2000 Information-technology Promotion Agancy, Japan +# Copyright (C) 2000 Information-technology Promotion Agency, Japan if $SAFE > 0 STDERR.print "-r debug.rb is not available in safe mode\n" @@ -526,7 +526,7 @@ EOHELP end def debug_funcname(id) - if id == 0 + if id.nil? "toplevel" else id.id2name |