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

rdoc: ignore garbage files

* lib/rdoc/options.rb (RDoc::Options#init_ivars): exclude backup
  files by default.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2019-01-13 13:16:56 +00:00
parent 6feee125b9
commit 0fb782ea28

View file

@ -344,7 +344,9 @@ class RDoc::Options
def init_ivars # :nodoc:
@dry_run = false
@exclude = []
@exclude = %w[
~\z \.orig\z \.rej\z \.bak\z
]
@files = nil
@force_output = false
@force_update = true