method
for
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.
for(options)public
Generators may need to return specific subclasses depending on the options they are passed. Because of this we create them using a factory
# File lib/rdoc/generators/html_generator.rb, line 1160
def HTMLGenerator.for(options)
AllReferences::reset
HtmlMethod::reset
if options.all_one_file
HTMLGeneratorInOne.new(options)
else
HTMLGenerator.new(options)
end
end