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.



2804
2805
2806
# File 'lib/nexpose.rb', line 2804

def name
  @name
end

#propertiesObject (readonly)

Returns the value of attribute properties.



2805
2806
2807
# File 'lib/nexpose.rb', line 2805

def properties
  @properties
end

Instance Method Details

#addProperty(name, value) ⇒ Object



2814
2815
2816
2817
# File 'lib/nexpose.rb', line 2814

def addProperty(name, value)

	@properties[name.to_s] = value
end

#ReportSection(name) ⇒ Object



2807
2808
2809
2810
2811
# File 'lib/nexpose.rb', line 2807

def ReportSection(name)

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