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.



2675
2676
2677
# File 'lib/nexpose.rb', line 2675

def name
  @name
end

#propertiesObject (readonly)

Returns the value of attribute properties.



2676
2677
2678
# File 'lib/nexpose.rb', line 2676

def properties
  @properties
end

Instance Method Details

#addProperty(name, value) ⇒ Object



2685
2686
2687
2688
# File 'lib/nexpose.rb', line 2685

def addProperty(name, value)

	@properties[name.to_s] = value
end

#ReportSection(name) ⇒ Object



2678
2679
2680
2681
2682
# File 'lib/nexpose.rb', line 2678

def ReportSection(name)

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