new (Rake::RDocTask)

         # File lib/rake/rdoctask.rb, line 89
     89:     def initialize(name = :rdoc)  # :yield: self
     90:       if name.is_a?(Hash)
     91:         invalid_options = name.keys.map { |k| k.to_sym } - [:rdoc, :clobber_rdoc, :rerdoc]
     92:         if !invalid_options.empty?
     93:           raise ArgumentError, "Invalid option(s) passed to RDocTask.new: #{invalid_options.join(", ")}"
     94:         end
     95:       end
     96:
     97:       @name = name
     98:       @rdoc_files = Rake::FileList.new
     99:       @rdoc_dir = 'html'
    100:       @main = nil
    101:       @title = nil
    102:       @template = nil
    103:       @external = false
    104:       @inline_source = true
    105:       @options = []
    106:       yield self if block_given?
    107:       define
    108:     end