Class: IPAdmin::NetStruct
- Inherits:
-
Struct
- Object
- Struct
- IPAdmin::NetStruct
- Defined in:
- lib/ip_admin.rb
Overview
Struct object used internally by IPAdmin. It is not likely directly useful to anyone.
Description of fields:
* network - byte-packed IP network
* netmask - byte-packed IP netmask
* version - IP version
* object - holds an IPAdmin class object
* subnets - an array of children IPAdmin::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
3682 3683 3684 |
# File 'lib/ip_admin.rb', line 3682 def netmask @netmask end |
#network ⇒ Object
Returns the value of attribute network
3682 3683 3684 |
# File 'lib/ip_admin.rb', line 3682 def network @network end |
#object ⇒ Object
Returns the value of attribute object
3682 3683 3684 |
# File 'lib/ip_admin.rb', line 3682 def object @object end |
#subnets ⇒ Object
Returns the value of attribute subnets
3682 3683 3684 |
# File 'lib/ip_admin.rb', line 3682 def subnets @subnets end |
#version ⇒ Object
Returns the value of attribute version
3682 3683 3684 |
# File 'lib/ip_admin.rb', line 3682 def version @version end |