Class: Rex::Parser::GraphML::AttributeContainer

Inherits:
Object
  • Object
show all
Defined in:
lib/rex/parser/graphml.rb

Overview

A base class for GraphML elements that are capable of storing attributes.

Direct Known Subclasses

Element::Edge, Element::Graph, Element::Node

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAttributeContainer

Returns a new instance of AttributeContainer.



113
114
115
# File 'lib/rex/parser/graphml.rb', line 113

def initialize
  @attributes = {}
end

Instance Attribute Details

#attributesObject

Returns the value of attribute attributes.



119
120
121
# File 'lib/rex/parser/graphml.rb', line 119

def attributes
  @attributes
end