From 7dff2acd8ec0eb60a51f99711a0c32b436c2ace0 Mon Sep 17 00:00:00 2001 From: matz Date: Tue, 9 May 2000 04:53:16 +0000 Subject: 2000-05-09 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/debug.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/debug.rb') diff --git a/lib/debug.rb b/lib/debug.rb index 8af0aab96..2f61e8da3 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 -- cgit