Class: Fictium::ApiBlueprintExporter::BaseFormatter
- Inherits:
-
Object
- Object
- Fictium::ApiBlueprintExporter::BaseFormatter
- Defined in:
- lib/fictium/exporters/api_blueprint_exporter/base_formatter.rb
Direct Known Subclasses
ActionFormatter, ExampleFormatter, FooterFormatter, ResourceFormatter
Instance Method Summary collapse
Instance Method Details
#format(subject) ⇒ Object
4 5 6 7 |
# File 'lib/fictium/exporters/api_blueprint_exporter/base_formatter.rb', line 4 def format(subject) sections = format_sections(subject) join_sections(sections) end |