File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -35,11 +35,6 @@ class RDoc::RDoc
3535
3636 GENERATORS = { }
3737
38- ##
39- # File pattern to exclude
40-
41- attr_accessor :exclude
42-
4338 ##
4439 # Generator instance used for creating output
4540
@@ -93,7 +88,6 @@ def self.current= rdoc
9388
9489 def initialize
9590 @current = nil
96- @exclude = nil
9791 @generator = nil
9892 @last_modified = { }
9993 @old_siginfo = nil
@@ -116,7 +110,7 @@ def error(msg)
116110 def gather_files files
117111 files = [ "." ] if files . empty?
118112
119- file_list = normalized_file_list files , true , @exclude
113+ file_list = normalized_file_list files , true , @options . exclude
120114
121115 file_list = file_list . uniq
122116
@@ -472,8 +466,6 @@ def document options
472466 exit
473467 end
474468
475- @exclude = @options . exclude
476-
477469 unless @options . coverage_report then
478470 @last_modified = setup_output_dir @options . op_dir , @options . force_update
479471 end
You can’t perform that action at this time.
0 commit comments