# File lib/rdoc/options.rb, line 404 def finish @op_dir ||= 'doc' @rdoc_include << "." if @rdoc_include.empty? if @exclude.nil? or Regexp === @exclude then # done, #finish is being re-run elsif @exclude.empty? then @exclude = nil else @exclude = Regexp.new(@exclude.join("|")) end check_files # If no template was specified, use the default template for the output # formatter unless @template then @template = @generator_name @template_dir = template_dir_for @template end self end