Class: GpxDoctor::Models::TrackSegment
- Inherits:
-
Struct
- Object
- Struct
- GpxDoctor::Models::TrackSegment
- Defined in:
- lib/gpx_doctor/models/track_segment.rb
Instance Attribute Summary collapse
-
#points ⇒ Object
Returns the value of attribute points.
Instance Method Summary collapse
-
#initialize ⇒ TrackSegment
constructor
A new instance of TrackSegment.
Constructor Details
#initialize ⇒ TrackSegment
Returns a new instance of TrackSegment.
6 7 8 9 |
# File 'lib/gpx_doctor/models/track_segment.rb', line 6 def initialize(**) super self.points ||= [] end |
Instance Attribute Details
#points ⇒ Object
Returns the value of attribute points
5 6 7 |
# File 'lib/gpx_doctor/models/track_segment.rb', line 5 def points @points end |