Class: Fictium::ApiBlueprintExporter::HeaderFormatter

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

Instance Method Summary collapse

Instance Method Details

#format(_document) ⇒ Object



6
7
8
9
10
11
12
13
14
15
# File 'lib/fictium/exporters/api_blueprint_exporter/header_formatter.rb', line 6

def format(_document)
  "    Format: 1A\n    Host: \#{host}\n\n    # \#{title}\n\n    \#{description}\n  HEREDOC\nend\n"