Class: OMF::OML::NetworkNode
- Inherits:
-
NetworkElement
- Object
- Base::LObject
- NetworkElement
- OMF::OML::NetworkNode
- Defined in:
- lib/omf_oml/network.rb
Overview
This class represents a network node. Should NOT be created directly, but only through OmlNetwork#create_node method
Instance Attribute Summary
Attributes inherited from NetworkElement
Instance Method Summary collapse
-
#initialize(name, attributes, network) ⇒ NetworkNode
constructor
A new instance of NetworkNode.
- #node? ⇒ Boolean
Methods inherited from NetworkElement
#[], #[]=, #describe, #link?, #update
Constructor Details
#initialize(name, attributes, network) ⇒ NetworkNode
Returns a new instance of NetworkNode.
382 383 384 |
# File 'lib/omf_oml/network.rb', line 382 def initialize(name, attributes, network) super end |
Instance Method Details
#node? ⇒ Boolean
386 387 388 |
# File 'lib/omf_oml/network.rb', line 386 def node? true end |