Class: JavaHelp::TOC
- Inherits:
-
Object
- Object
- JavaHelp::TOC
- Defined in:
- lib/javahelp.rb
Overview
Data class for holding table of contents information.
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#xml ⇒ Object
Returns the value of attribute xml.
Instance Method Summary collapse
-
#initialize(name) ⇒ TOC
constructor
A new instance of TOC.
Constructor Details
#initialize(name) ⇒ TOC
Returns a new instance of TOC.
129 130 131 |
# File 'lib/javahelp.rb', line 129 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
127 128 129 |
# File 'lib/javahelp.rb', line 127 def name @name end |
#xml ⇒ Object
Returns the value of attribute xml.
126 127 128 |
# File 'lib/javahelp.rb', line 126 def xml @xml end |