Class

Generators::HTMLGenerator

Inheritance
< Object
Included Modules
MarkUp

Methods

Class

Visibility Signature
public for (options)
public gen_url (path, target)
public new (options)

Instance

Visibility Signature
public generate (toplevels)

Class Method Detail

for(options)

Generators may need to return specific subclasses depending on the options they are passed. Because of this we create them using a factory

gen_url(path, target)

convert a target url to one that is relative to a given path

new(options)

Set up a new HTML generator. Basically all we do here is load up the correct output temlate

Instance Method Detail

generate(toplevels)

Build the initial indices and output objects based on an array of TopLevel objects containing the extracted information.