Sha256: 6fff6518eadce475a37a8c9aaa16afddc6f25b1ba6726327bd2cbd510029d5dd
Contents?: true
Size: 318 Bytes
Versions: 2
Compression:
Stored size: 318 Bytes
Contents
module GPX # Class holds coordinates and elevation of single point class GeoPoint attr_accessor :latitude, :longitude, :elevation def initialize(latitude: latitude, longitude:longitude, elevation:elevation) self.latitude = latitude self.longitude = longitude self.elevation = elevation end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gpx_track-0.0.2 | lib/gpx/geopoint.rb |
gpx_track-0.0.1 | lib/gpx/geopoint.rb |