new(absolute_name, relative_name = absolute_name)
public
Creates a new TopLevel for the
file at absolute_name. If documentation is being generated
outside the source dir relative_name is relative to the source
directory.
Show source
def initialize absolute_name, relative_name = absolute_name
super()
@name = nil
@absolute_name = absolute_name
@relative_name = relative_name
@file_stat = File.stat(absolute_name) rescue nil
@diagram = nil
@parser = nil
@classes_or_modules = []
end