Class: Angus::SDoc::HtmlFormatter
- Inherits:
-
Object
- Object
- Angus::SDoc::HtmlFormatter
- Defined in:
- lib/angus/sdoc/html_formatter.rb
Constant Summary collapse
- ENGLISH_LANG =
'en'
Class Method Summary collapse
-
.format_service(service_definition, language = nil) ⇒ String
Generates the html for the service definition.
Class Method Details
.format_service(service_definition, language = nil) ⇒ String
Generates the html for the service definition.
15 16 17 18 19 20 |
# File 'lib/angus/sdoc/html_formatter.rb', line 15 def self.format_service(service_definition, language = nil) @service = service_definition @language = language || ENGLISH_LANG erb(:doc, @language) end |