• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/ruby-106/ruby/lib/rdoc/

Lines Matching defs:RDoc

9 # This is the driver for generating RDoc output.  It handles file parsing and
12 # To use this class to generate RDoc output via the API, the recommended way
15 # rdoc = RDoc::RDoc.new
16 # options = rdoc.load_options # returns an RDoc::Options instance
22 # rdoc = RDoc::RDoc.new
28 class RDoc::RDoc
53 # RDoc options
71 name = klass.name.sub(/^RDoc::Generator::/, '').downcase
76 # Active RDoc::RDoc instance
83 # Sets the active RDoc::RDoc instance
90 # Creates a new RDoc::RDoc instance. Call #document to parse files and
108 raise RDoc::Error, msg
128 # Turns RDoc from stdin into HTML
131 @html = RDoc::Markup::ToHtml.new @options
133 parser = RDoc::Text::MARKUP_FORMAT[@options.markup]
155 # new RDoc::Options instance.
159 return RDoc::Options.new unless File.exist? options_file
161 RDoc.load_yaml
174 raise RDoc::Error, "#{options_file} is not a valid rdoc options file" unless
175 RDoc::Options === options
210 Directory #{dir} already exists, but it looks like it isn't an RDoc directory.
212 Because RDoc doesn't want to risk destroying any of your existing files,
300 if force_doc or RDoc::Parser.can_parse(rel_file_name) then
307 dot_doc = File.join rel_file_name, RDoc::DOT_DOC_FILENAME
335 # Parses +filename+ and returns an RDoc::TopLevel
345 content = RDoc::Encoding.read_file filename, encoding
360 parser = RDoc::Parser.for top_level, filename, content, @options, @stats
388 RDoc is not a full Ruby parser and will fail when fed invalid ruby programs.
407 @stats = RDoc::Stats.new @store, file_list.length, @options.verbosity
443 # +options+ can be either an RDoc::Options instance or an array of strings
446 # call RDoc::Options#finish if an options instance was given.
448 # For a list of options, see either RDoc::Options or <tt>rdoc --help</tt>.
454 self.store = RDoc::Store.new
456 if RDoc::Options === options then
487 @options.default_title = "RDoc Documentation"
518 # by the RDoc options