Class: IANA::Port::Port

Inherits:
Struct
  • Object
show all
Defined in:
lib/iana/port.rb

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



8
9
10
# File 'lib/iana/port.rb', line 8

def description
  @description
end

#keywordObject

Returns the value of attribute keyword

Returns:

  • (Object)

    the current value of keyword



8
9
10
# File 'lib/iana/port.rb', line 8

def keyword
  @keyword
end

#protocolObject

Returns the value of attribute protocol

Returns:

  • (Object)

    the current value of protocol



8
9
10
# File 'lib/iana/port.rb', line 8

def protocol
  @protocol
end