Class: BasicNetworkType
- Inherits:
-
Object
- Object
- BasicNetworkType
- 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
Instance Attribute Summary collapse
-
#nettype ⇒ Object
readonly
Returns the value of attribute nettype.
Instance Method Summary collapse
-
#initialize ⇒ BasicNetworkType
constructor
A new instance of BasicNetworkType.
Constructor Details
#initialize ⇒ BasicNetworkType
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
#nettype ⇒ Object (readonly)
Returns the value of attribute nettype.
10 11 12 |
# File 'lib/ifconfig/common/network_types.rb', line 10 def nettype @nettype end |