Class: Unipept::HtmlFormatter
Class Method Summary collapse
Instance Method Summary collapse
-
#convert(data, _first) ⇒ String
Converts the given input data to an HTML page that contains the Unipept visualizations.
- #footer ⇒ Object
- #header(_data, _fasta_mapper = nil) ⇒ Object
-
#type ⇒ String
The type of the current formatter: html.
Methods inherited from Formatter
available, default, #format, formatters, #group_by_first_key, #integrate_fasta_headers, new_for_format, register
Class Method Details
.hidden? ⇒ Boolean
356 357 358 |
# File 'lib/formatters.rb', line 356 def self.hidden? false end |
Instance Method Details
#convert(data, _first) ⇒ String
Converts the given input data to an HTML page that contains the Unipept visualizations
375 376 377 |
# File 'lib/formatters.rb', line 375 def convert(data, _first) data end |
#footer ⇒ Object
364 365 366 |
# File 'lib/formatters.rb', line 364 def '' end |
#header(_data, _fasta_mapper = nil) ⇒ Object
360 361 362 |
# File 'lib/formatters.rb', line 360 def header(_data, _fasta_mapper = nil) '' end |
#type ⇒ String
Returns The type of the current formatter: html.
352 353 354 |
# File 'lib/formatters.rb', line 352 def type 'html' end |