Module: EPUB::ContentDocument::Navigation::Hidable
Instance Attribute Summary collapse
-
#hidden ⇒ Object
Returns the value of attribute hidden.
-
#parent ⇒ Object
Returns the value of attribute parent.
Instance Method Summary collapse
Instance Attribute Details
#hidden ⇒ Object
Returns the value of attribute hidden.
64 65 66 |
# File 'lib/epub/content_document/navigation.rb', line 64 def hidden @hidden end |
#parent ⇒ Object
Returns the value of attribute parent.
64 65 66 |
# File 'lib/epub/content_document/navigation.rb', line 64 def parent @parent end |
Instance Method Details
#hidden? ⇒ Boolean
66 67 68 69 70 71 72 |
# File 'lib/epub/content_document/navigation.rb', line 66 def hidden? if @hidden.nil? @parent ? @parent.hidden? : false else true end end |