Class: IPAdmin::NetStruct

Inherits:
Struct
  • Object
show all
Defined in:
lib/methods.rb

Overview

Struct object used internally by IPAdmin. It is not likely directly useful to anyone.

Description of fields:

* cidr - IPAdmin::CIDR object
* parent - parent NetStruct in tree
* children - Array of children NetStruct objects

Instance Attribute Summary collapse

Instance Attribute Details

#childrenObject

Returns the value of attribute children



1403
1404
1405
# File 'lib/methods.rb', line 1403

def children
  @children
end

#cidrObject

Returns the value of attribute cidr



1403
1404
1405
# File 'lib/methods.rb', line 1403

def cidr
  @cidr
end

#parentObject

Returns the value of attribute parent



1403
1404
1405
# File 'lib/methods.rb', line 1403

def parent
  @parent
end