Class: OGNClient::Comment

Inherits:
Message
  • Object
show all
Defined in:
lib/ogn_client/messages/comment.rb

Constant Summary collapse

COMMENT_PATTERN =
%r(^
  \#\s*(?<comment>.*?)\s*
$)x

Constants inherited from Message

Message::POSITION_PATTERN

Instance Attribute Summary collapse

Attributes inherited from Message

#altitude, #callsign, #ground_speed, #heading, #latitude, #longitude, #raw, #receiver, #time

Method Summary

Methods inherited from Message

parse, #to_s

Instance Attribute Details

#commentObject

free form text comment



9
10
11
# File 'lib/ogn_client/messages/comment.rb', line 9

def comment
  @comment
end