Class: Generators::HtmlFile

Inherits:
Object
  • Object
show all
Defined in:
lib/rdoc/generators/template/html/resh/resh.rb

Instance Method Summary collapse

Instance Method Details

#write_on(f) ⇒ Object



42
43
44
45
46
47
48
49
50
51
# File 'lib/rdoc/generators/template/html/resh/resh.rb', line 42

def write_on(f)
	return unless defined? RDoc::Page::FILE_PAGE
	value_hash
#		template = TemplatePage.new(RDoc::Page::BODY,
#									RDoc::Page::FILE_PAGE,
#									RDoc::Page::METHOD_LIST)
#		template.write_html_on(f, @values)
	values = @values
	f << ERB.new(File.read($tmpl+RDoc::Page::FILE_PAGE)).result(binding)
end