APIdock / Ruby
/
method

load_html_template

ruby latest stable - Class: Generators ::HTMLGenerator

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

load_html_template()
private

Load up the HTML template specified in the options. If the template name contains a slash, use it literally

# File lib/rdoc/generators/html_generator.rb, line 1206
 def load_html_template
 template = @options.template
 unless template =~ %r{/|\\}
 template = File.join("rdoc/generators/template",
 @options.generator.key, template)
 end
 require template
 extend RDoc::Page
 rescue LoadError
 $stderr.puts "Could not find HTML template '#{template}'"
 exit 99
 end

AltStyle によって変換されたページ (->オリジナル) /