Class: JavaHelp::TOC

Inherits:
Object
  • Object
show all
Defined in:
lib/javahelp.rb

Overview

Data class for holding table of contents information.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject (readonly)

Returns the value of attribute name.



127
128
129
# File 'lib/javahelp.rb', line 127

def name
  @name
end

#xmlObject

Returns the value of attribute xml.



126
127
128
# File 'lib/javahelp.rb', line 126

def xml
  @xml
end