Class: Net::Network

Inherits:
Struct
  • Object
show all
Defined in:
lib/nub/net.rb

Overview

Network object

Instance Attribute Summary collapse

Instance Attribute Details

#cidrObject

Returns the value of attribute cidr

Returns:

  • (Object)

    the current value of cidr



151
152
153
# File 'lib/nub/net.rb', line 151

def cidr
  @cidr
end

#nameserversObject

Returns the value of attribute nameservers

Returns:

  • (Object)

    the current value of nameservers



151
152
153
# File 'lib/nub/net.rb', line 151

def nameservers
  @nameservers
end

#nicObject

Returns the value of attribute nic

Returns:

  • (Object)

    the current value of nic



151
152
153
# File 'lib/nub/net.rb', line 151

def nic
  @nic
end

#subnetObject

Returns the value of attribute subnet

Returns:

  • (Object)

    the current value of subnet



151
152
153
# File 'lib/nub/net.rb', line 151

def subnet
  @subnet
end