ianfixes / nmea_plus

GPS, AIS, and other NMEA message parsing and decoding; ruby gem
Apache License 2.0
34 stars 5 forks source link

Make field sequences into arrays #34

Open ianfixes opened 7 years ago

ianfixes commented 7 years ago

For example, NMEAPlus::Message::NMEA::GTD:

        field_reader :difference1, 1, :_float
        field_reader :difference2, 2, :_float
        field_reader :difference3, 3, :_float
        field_reader :difference4, 4, :_float
        field_reader :difference5, 5, :_float

Just make an array here.

See also #29