lib/sgs/nmea.rb in sgslib-1.7.1 vs lib/sgs/nmea.rb in sgslib-1.8.1
- old
+ new
@@ -56,10 +56,10 @@
if nmea.parse(str) < 0
nmea = nil
end
nmea
end
-
+
#
# Parse an NMEA string into its component parts.
def parse(str)
str.chomp!
if str[0] != "$"