From 29962f8fb6687010e005cbf311a791e4eafb2eae Mon Sep 17 00:00:00 2001 From: drbrain Date: Tue, 25 Dec 2007 00:13:12 +0000 Subject: Enable RDoc debugging only with $DEBUG_RDOC git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rdoc/options.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rdoc/options.rb') diff --git a/lib/rdoc/options.rb b/lib/rdoc/options.rb index 84d92424a3..259fef487b 100644 --- a/lib/rdoc/options.rb +++ b/lib/rdoc/options.rb @@ -386,7 +386,7 @@ class Options case opt when "--all" then @show_all = true when "--charset" then @charset = arg - when "--debug" then $DEBUG = true + when "--debug" then $DEBUG_RDOC = true when "--exclude" then @exclude << Regexp.new(arg) when "--inline-source" then @inline_source = true when "--line-numbers" then @include_line_numbers = true -- cgit v1.2.3