Class: Fictium::ApiBlueprintExporter::FooterFormatter

Inherits:
BaseFormatter
  • Object
show all
Defined in:
lib/fictium/exporters/api_blueprint_exporter/footer_formatter.rb

Instance Method Summary collapse

Instance Method Details

#format(document) ⇒ Object



9
10
11
12
# File 'lib/fictium/exporters/api_blueprint_exporter/footer_formatter.rb', line 9

def format(document)
  list = super(document)
  list.present? ? "# #{api_blueprint.footer_header}\n\n#{list}" : ''
end