Class: RDoc::Generator::ApiTommy

Inherits:
ApiTommy::Generator
  • Object
show all
Defined in:
lib/rdoc/generator/api_tommy.rb

Instance Method Summary collapse

Constructor Details

#initialize(store, options) ⇒ ApiTommy

Returns a new instance of ApiTommy.



6
7
8
9
10
11
# File 'lib/rdoc/generator/api_tommy.rb', line 6

def initialize(store, options)
  @store = store
  @options = options
  @content = ""
  @h = ::ApiTommy::Markdown
end

Instance Method Details

#generateObject



13
14
15
16
17
18
19
20
21
22
# File 'lib/rdoc/generator/api_tommy.rb', line 13

def generate
  log("Parsing and Generating doc...")
  @store.all_classes.each do |clazz|
    generate_class_doc(clazz)
  end
  log("Done.")

  finalize_content
  update_wiki
end