Class: PPZ::RootSectionModel
Instance Attribute Summary
#father_model, #index, #left_model, #right_model
Instance Method Summary
collapse
#append
#append, #initialize
from_line, #transform_inline_element
Instance Method Details
#get_nav_html ⇒ Object
9
10
11
|
# File 'lib/doc/model/section/root.rb', line 9
def get_nav_html
return "<aside><ul>#{super}</ul></aside>"
end
|
#level ⇒ Object
2
3
4
|
# File 'lib/doc/model/section/root.rb', line 2
def level
0
end
|
#section_dom_id ⇒ Object
5
6
7
|
# File 'lib/doc/model/section/root.rb', line 5
def section_dom_id
'section'
end
|
#to_html ⇒ Object
13
14
15
|
# File 'lib/doc/model/section/root.rb', line 13
def to_html
"#{get_nav_html}<article>#{super}</article>"
end
|