1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Enable RDoc debugging only with $DEBUG_RDOC

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
drbrain 2007-12-25 00:13:12 +00:00
parent 951200ac63
commit 29962f8fb6
5 changed files with 32 additions and 28 deletions

View file

@ -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