Class: Tabulous::Html5Renderer
Instance Method Summary
collapse
#initialize
Instance Method Details
#subtabs_html ⇒ Object
14
15
16
17
18
19
20
21
22
|
# File 'lib/tabulous/renderers/html5_renderer.rb', line 14
def subtabs_html
<<-HTML.strip_heredoc
<nav class="subtabs">
<ul>
#{ subtab_list_html }
</ul>
</nav>
HTML
end
|
#tabs_html ⇒ Object
4
5
6
7
8
9
10
11
12
|
# File 'lib/tabulous/renderers/html5_renderer.rb', line 4
def tabs_html
<<-HTML.strip_heredoc
<nav class="tabs">
<ul>
#{ tab_list_html }
</ul>
</nav>
HTML
end
|