Class: NavigationPane
- Inherits:
-
Object
- Object
- NavigationPane
- Defined in:
- lib/almirah/navigation_pane.rb
Instance Attribute Summary collapse
-
#specifications ⇒ Object
Returns the value of attribute specifications.
Instance Method Summary collapse
-
#initialize(specification) ⇒ NavigationPane
constructor
A new instance of NavigationPane.
- #to_html ⇒ Object
Constructor Details
#initialize(specification) ⇒ NavigationPane
Returns a new instance of NavigationPane.
6 7 8 |
# File 'lib/almirah/navigation_pane.rb', line 6 def initialize(specification) @doc = specification end |
Instance Attribute Details
#specifications ⇒ Object
Returns the value of attribute specifications.
4 5 6 |
# File 'lib/almirah/navigation_pane.rb', line 4 def specifications @specifications end |
Instance Method Details
#to_html ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/almirah/navigation_pane.rb', line 10 def to_html if @doc.dom return @doc.dom.section_tree_to_html() else return '' end end |