Class: Net::Network
- Inherits:
-
Struct
- Object
- Struct
- Net::Network
- Defined in:
- lib/nub/net.rb
Overview
Network object
Instance Attribute Summary collapse
-
#cidr ⇒ Object
Returns the value of attribute cidr.
-
#nameservers ⇒ Object
Returns the value of attribute nameservers.
-
#nic ⇒ Object
Returns the value of attribute nic.
-
#subnet ⇒ Object
Returns the value of attribute subnet.
Instance Attribute Details
#cidr ⇒ Object
Returns the value of attribute cidr
151 152 153 |
# File 'lib/nub/net.rb', line 151 def cidr @cidr end |
#nameservers ⇒ Object
Returns the value of attribute nameservers
151 152 153 |
# File 'lib/nub/net.rb', line 151 def nameservers @nameservers end |
#nic ⇒ Object
Returns the value of attribute nic
151 152 153 |
# File 'lib/nub/net.rb', line 151 def nic @nic end |
#subnet ⇒ Object
Returns the value of attribute subnet
151 152 153 |
# File 'lib/nub/net.rb', line 151 def subnet @subnet end |