Class: ScDocs::HtmlGenerator

Inherits:
Generator show all
Defined in:
lib/sc_docs/generator.rb

Instance Attribute Summary

Attributes inherited from Generator

#input_dirs, #output_dir, #smartdown, #template, #verbose

Instance Method Summary collapse

Methods inherited from Generator

#command, #generate, #preview

Constructor Details

#initialize(directories, options = {}) ⇒ HtmlGenerator

Returns a new instance of HtmlGenerator.



80
81
82
83
84
# File 'lib/sc_docs/generator.rb', line 80

def initialize(directories, options={})
  super
  @template = lookup_template(options[:template])
  @smartdown = true
end