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.



2453
2454
2455
# File 'lib/nexpose.rb', line 2453

def name
  @name
end

#propertiesObject (readonly)

Returns the value of attribute properties.



2454
2455
2456
# File 'lib/nexpose.rb', line 2454

def properties
  @properties
end

Instance Method Details

#addProperty(name, value) ⇒ Object



2463
2464
2465
2466
# File 'lib/nexpose.rb', line 2463

def addProperty(name, value)

	@properties[name.to_s] = value
end

#ReportSection(name) ⇒ Object



2456
2457
2458
2459
2460
# File 'lib/nexpose.rb', line 2456

def ReportSection(name)

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