Method: Jdoc::Generator#initialize
- Defined in:
- lib/jdoc/generator.rb
#initialize(schema, html: false, html_template_path: nil, markdown_template_path: nil) ⇒ Generator
Returns a new instance of Generator.
16 17 18 19 20 21 |
# File 'lib/jdoc/generator.rb', line 16 def initialize(schema, html: false, html_template_path: nil, markdown_template_path: nil) @raw_schema = schema @html = html @html_template_path = html_template_path @markdown_template_path = markdown_template_path end |