Method: Aws::Api::Docs::Builder::Tabulator#to_html
- Defined in:
- lib/aws-sdk-core/api/docs/builder.rb
#to_html ⇒ Object Also known as: inspect, to_str, to_s
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
198 199 200 201 202 203 204 205 206 207 208 209 |
# File 'lib/aws-sdk-core/api/docs/builder.rb', line 198 def to_html lines = [] lines << '<div class="tab-box">' lines << '<ul class="tabs">' @tabs.each do |tab_id, tab_name| lines << "<li data-tab-id=\"#{tab_id}\">#{tab_name}</li>" end lines << '</ul>' lines.concat(@tab_contents) lines << '</div>' lines.join end |