diff options
Diffstat (limited to 'lib/tracer.rb')
-rw-r--r-- | lib/tracer.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tracer.rb b/lib/tracer.rb index 54179dd193..dbe18eacc2 100644 --- a/lib/tracer.rb +++ b/lib/tracer.rb @@ -17,12 +17,12 @@ class Tracer @RCS_ID='-$Id: tracer.rb,v 1.8 1998/05/19 03:42:49 keiju Exp keiju $-' @stdout = STDOUT + @verbose = false class << self attr :verbose, true alias verbose? verbose attr :stdout, true end - verbose = true MY_FILE_NAME = caller(0)[0].scan(/^(.*):[0-9]+$/)[0][0] @@ -155,7 +155,7 @@ class Tracer end -LINES__ = {} unless defined? LINES__ +SCRIPT_LINES__ = {} unless defined? SCRIPT_LINES__ if caller(0).size == 1 if $0 == Tracer::MY_FILE_NAME |