Method: JsDuck::ClassWriter#initialize
- Defined in:
- lib/jsduck/class_writer.rb
#initialize(exporter_class, relations, opts) ⇒ ClassWriter
Returns a new instance of ClassWriter.
10 11 12 13 14 |
# File 'lib/jsduck/class_writer.rb', line 10 def initialize(exporter_class, relations, opts) @relations = relations @exporter = exporter_class.new(relations, opts) @parallel = ParallelWrap.new(:in_processes => opts.processes) end |