Class: Kanrisuru::Core::IP::IPRoute

Inherits:
Struct
  • Object
show all
Defined in:
lib/kanrisuru/core/ip/types.rb

Instance Attribute Summary collapse

Instance Attribute Details

#destinationObject

Returns the value of attribute destination

Returns:

  • (Object)

    the current value of destination



29
30
31
# File 'lib/kanrisuru/core/ip/types.rb', line 29

def destination
  @destination
end

#deviceObject

Returns the value of attribute device

Returns:

  • (Object)

    the current value of device



29
30
31
# File 'lib/kanrisuru/core/ip/types.rb', line 29

def device
  @device
end

#flagsObject

Returns the value of attribute flags

Returns:

  • (Object)

    the current value of flags



29
30
31
# File 'lib/kanrisuru/core/ip/types.rb', line 29

def flags
  @flags
end

#gatewayObject

Returns the value of attribute gateway

Returns:

  • (Object)

    the current value of gateway



29
30
31
# File 'lib/kanrisuru/core/ip/types.rb', line 29

def gateway
  @gateway
end

#metricObject

Returns the value of attribute metric

Returns:

  • (Object)

    the current value of metric



29
30
31
# File 'lib/kanrisuru/core/ip/types.rb', line 29

def metric
  @metric
end

#preferred_sourceObject

Returns the value of attribute preferred_source

Returns:

  • (Object)

    the current value of preferred_source



29
30
31
# File 'lib/kanrisuru/core/ip/types.rb', line 29

def preferred_source
  @preferred_source
end

#protocolObject

Returns the value of attribute protocol

Returns:

  • (Object)

    the current value of protocol



29
30
31
# File 'lib/kanrisuru/core/ip/types.rb', line 29

def protocol
  @protocol
end

#scopeObject

Returns the value of attribute scope

Returns:

  • (Object)

    the current value of scope



29
30
31
# File 'lib/kanrisuru/core/ip/types.rb', line 29

def scope
  @scope
end