Class: Pact::Doc::Markdown::Generator
- Defined in:
- lib/pact/doc/markdown/generator.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(pact_dir, doc_dir) ⇒ Generator
constructor
A new instance of Generator.
Methods inherited from Generator
Constructor Details
#initialize(pact_dir, doc_dir) ⇒ Generator
Returns a new instance of Generator.
9 10 11 12 13 14 15 16 |
# File 'lib/pact/doc/markdown/generator.rb', line 9 def initialize pact_dir, doc_dir super(pact_dir, doc_dir, consumer_contract_renderer: ConsumerContractRenderer, doc_type: "markdown", file_extension: ".md", index_renderer: IndexRenderer, index_name: "README") end |
Class Method Details
.call(pact_dir, doc_dir) ⇒ Object
18 19 20 |
# File 'lib/pact/doc/markdown/generator.rb', line 18 def self.call pact_dir, doc_dir new(pact_dir, doc_dir).call end |