Class: JsDuck::Exporter::App
Overview
Exports data for Docs app.
Instance Method Summary collapse
-
#export(cls) ⇒ Object
Returns compacted class data hash which contains an additional :html field with full HTML to show on class overview page.
-
#initialize(relations, opts) ⇒ App
constructor
A new instance of App.
Constructor Details
Instance Method Details
#export(cls) ⇒ Object
Returns compacted class data hash which contains an additional :html field with full HTML to show on class overview page.
17 18 19 20 21 |
# File 'lib/jsduck/exporter/app.rb', line 17 def export(cls) data = super(cls) data[:html] = @renderer.render(data) return compact(data) end |