Class: GpxTrackGenerator::Track
- Inherits:
-
Object
- Object
- GpxTrackGenerator::Track
- Defined in:
- lib/gpx_track_generator/track.rb
Overview
Track
Instance Method Summary collapse
-
#initialize(files, name:, reverse:, single_segment:) ⇒ Track
constructor
A new instance of Track.
- #to_s ⇒ Object
Constructor Details
#initialize(files, name:, reverse:, single_segment:) ⇒ Track
Returns a new instance of Track.
11 12 13 14 15 16 |
# File 'lib/gpx_track_generator/track.rb', line 11 def initialize(files, name:, reverse:, single_segment:) @files = files @name = name @reverse = reverse @single_segment = single_segment end |
Instance Method Details
#to_s ⇒ Object
18 19 20 |
# File 'lib/gpx_track_generator/track.rb', line 18 def to_s build_document end |