Class: BasicNetworkType

Inherits:
Object
  • Object
show all
Defined in:
lib/ifconfig/common/network_types.rb

Overview

base type to hold information about the kinds of networks on to each adapter. ipv4,6 ppp etc

Direct Known Subclasses

Ipv4Network, Ipv6Network, MiscEthernet

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBasicNetworkType

Returns a new instance of BasicNetworkType.



7
8
9
# File 'lib/ifconfig/common/network_types.rb', line 7

def initialize
  @nettype = nil
end

Instance Attribute Details

#nettypeObject (readonly)

Returns the value of attribute nettype.



10
11
12
# File 'lib/ifconfig/common/network_types.rb', line 10

def nettype
  @nettype
end