Class: Angus::SDoc::HtmlFormatter

Inherits:
Object
  • Object
show all
Defined in:
lib/angus/sdoc/html_formatter.rb

Class Method Summary collapse

Class Method Details

.format_service(service_definition) ⇒ String

Generates the html for the service definition.

Parameters:

Returns:

  • (String)

    the generated html.



14
15
16
17
18
# File 'lib/angus/sdoc/html_formatter.rb', line 14

def format_service(service_definition)
  @service = service_definition

  erb(:doc)
end