Method: NMEAPlus::Message::AIS::AISMessage#talker

Defined in:
lib/nmea_plus/message/ais/base_ais.rb,
lib/nmea_plus/message/ais/base_ais.rb

#talkerString

The first two characters of the NMEA message type

Returns:

  • (String)

    The two-character “talker ID” of the message


18
19
20
# File 'lib/nmea_plus/message/ais/base_ais.rb', line 18

def talker
  data_type[0..1]
end