Class: Nexpose::ReportSection

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



2311
2312
2313
# File 'lib/nexpose.rb', line 2311

def name
  @name
end

#propertiesObject (readonly)

Returns the value of attribute properties.



2312
2313
2314
# File 'lib/nexpose.rb', line 2312

def properties
  @properties
end

Instance Method Details

#addProperty(name, value) ⇒ Object



2321
2322
2323
2324
# File 'lib/nexpose.rb', line 2321

def addProperty(name, value)

	@properties[name.to_s] = value
end

#ReportSection(name) ⇒ Object



2314
2315
2316
2317
2318
# File 'lib/nexpose.rb', line 2314

def ReportSection(name)

	@properties = Array.new()
	@name = name
end