Class: OsCtld::NetConfig::Addr

Inherits:
Struct
  • Object
show all
Defined in:
lib/osctld/net_config.rb

Instance Attribute Summary collapse

Instance Attribute Details

#addressObject

Returns the value of attribute address

Returns:

  • (Object)

    the current value of address



14
15
16
# File 'lib/osctld/net_config.rb', line 14

def address
  @address
end

#prefixObject

Returns the value of attribute prefix

Returns:

  • (Object)

    the current value of prefix



14
15
16
# File 'lib/osctld/net_config.rb', line 14

def prefix
  @prefix
end

#versionObject

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



14
15
16
# File 'lib/osctld/net_config.rb', line 14

def version
  @version
end