Sha256: 0c95a0b02ff943a8e4c427b8c176c3ff6a127cf384eda835aeb14a1bd77e9ccf
Contents?: true
Size: 515 Bytes
Versions: 5
Compression:
Stored size: 515 Bytes
Contents
module HRMParser class TrackPoint attr_accessor :lat, :lng, :altitude, :speed, :hr, :distance, :time, :cadence def initialize(opts = {:lat => nil, :lng => nil, :altitude => nil, :speed => nil, :hr => nil, :distance => nil, :cadence => nil, :time => Time.now}) @lat = opts[:lat] @lng = opts[:lng] @altitude = opts[:altitude] @speed = opts[:speed] @hr = opts[:hr] @distance = opts[:distance] @time = opts[:time] @cadence = opts[:cadence] end end end
Version data entries
5 entries across 5 versions & 1 rubygems