method
new
ruby latest stable - Class:
Generators::HtmlClass
new(context, html_file, prefix, options)public
No documentation available.
# File lib/rdoc/generators/html_generator.rb, line 590
def initialize(context, html_file, prefix, options)
super(context, options)
@html_file = html_file
@is_module = context.is_module?
@values = {}
context.viewer = self
if options.all_one_file
@path = context.full_name
else
@path = http_url(context.full_name, prefix)
end
collect_methods
AllReferences.add(name, self)
end