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:
parent
6feee125b9
commit
0fb782ea28
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue