Class: Net::Veth
- Inherits:
-
Struct
- Object
- Struct
- Net::Veth
- Defined in:
- lib/nub/net.rb
Overview
Virtual Ethernet NIC object
Instance Attribute Summary collapse
-
#ip ⇒ Object
Returns the value of attribute ip.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Attribute Details
#ip ⇒ Object
Returns the value of attribute ip
144 145 146 |
# File 'lib/nub/net.rb', line 144 def ip @ip end |
#name ⇒ Object
Returns the value of attribute name
144 145 146 |
# File 'lib/nub/net.rb', line 144 def name @name end |