Class: IPAdmin::NetStruct
- Inherits:
-
Struct
- Object
- Struct
- IPAdmin::NetStruct
- Defined in:
- lib/methods.rb
Overview
Struct object used internally by IPAdmin. It is not likely directly useful to anyone.
Description of fields:
* network - Integer representing an IP address
* netmask - Integer representing IP netmask
* version - Integer representing an IP version
* object - holds an IPAdmin class object
* subnets - an array of children NetStruct objects
Instance Attribute Summary collapse
-
#netmask ⇒ Object
Returns the value of attribute netmask.
-
#network ⇒ Object
Returns the value of attribute network.
-
#object ⇒ Object
Returns the value of attribute object.
-
#subnets ⇒ Object
Returns the value of attribute subnets.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Attribute Details
#netmask ⇒ Object
Returns the value of attribute netmask
1499 1500 1501 |
# File 'lib/methods.rb', line 1499 def netmask @netmask end |
#network ⇒ Object
Returns the value of attribute network
1499 1500 1501 |
# File 'lib/methods.rb', line 1499 def network @network end |
#object ⇒ Object
Returns the value of attribute object
1499 1500 1501 |
# File 'lib/methods.rb', line 1499 def object @object end |
#subnets ⇒ Object
Returns the value of attribute subnets
1499 1500 1501 |
# File 'lib/methods.rb', line 1499 def subnets @subnets end |
#version ⇒ Object
Returns the value of attribute version
1499 1500 1501 |
# File 'lib/methods.rb', line 1499 def version @version end |