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.
60 61 62 |
# File 'lib/epub/content_document/navigation.rb', line 60 def hidden @hidden end |
#parent ⇒ Object
Returns the value of attribute parent.
60 61 62 |
# File 'lib/epub/content_document/navigation.rb', line 60 def parent @parent end |
Instance Method Details
#hidden? ⇒ Boolean
62 63 64 65 66 67 68 |
# File 'lib/epub/content_document/navigation.rb', line 62 def hidden? if @hidden.nil? @parent ? @parent.hidden? : false else true end end |