Method: RDoc::Generator::SDoc#initialize
- Defined in:
- lib/sdoc/generator.rb
#initialize(store, options) ⇒ SDoc
69 70 71 72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/sdoc/generator.rb', line 69 def initialize(store, ) @store = store @options = if @options.respond_to?('diagram=') @options.diagram = false end @options.pipe = true @github_url_cache = {} @template_dir = Pathname.new(.template_dir) @base_dir = Pathname.pwd. @json_index = RDoc::Generator::JsonIndex.new self, end |