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

Returns:

  • (Object)

    the current value of children



1470
1471
1472
# File 'lib/methods.rb', line 1470

def children
  @children
end

#cidrObject

Returns the value of attribute cidr

Returns:

  • (Object)

    the current value of cidr



1470
1471
1472
# File 'lib/methods.rb', line 1470

def cidr
  @cidr
end

#parentObject

Returns the value of attribute parent

Returns:

  • (Object)

    the current value of parent



1470
1471
1472
# File 'lib/methods.rb', line 1470

def parent
  @parent
end