Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v2_2_9) is shown here.
new(parent_generator, options)
public
Creates a new
generator. parent_generator is used to determine the class_dir and file_dir of links in the
output index.
options are the same options passed to the parent generator.
# File lib/rdoc/generator/json_index.rb, line 90
def initialize parent_generator, options
@parent_generator = parent_generator
@store = parent_generator.store
@options = options
@template_dir = File.expand_path '../template/json_index', __FILE__
@base_dir = @parent_generator.base_dir
@classes = nil
@files = nil
@index = nil
end