Skip to content

Commit

Permalink
Merge pull request #17 from wallclimber21/master
Browse files Browse the repository at this point in the history
Make comment and description attr_accessor
  • Loading branch information
andrewhao authored Jan 5, 2017
2 parents 70ae703 + 428e75a commit a94c9e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/gpx/track.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ module GPX
# multiple points (in this library, those points are instances of
# TrackPoint). Each instance of this class has its own meta-data, including
# low point, high point, and distance. Of course, each track references an
# array of the segments that copmrise it, but additionally each track holds
# array of the segments that comprise it, but additionally each track holds
# a reference to all of its points as one big array called "points".
class Track < Base
attr_reader :points, :bounds, :lowest_point, :highest_point, :distance, :moving_duration, :comment, :description
attr_accessor :segments, :name, :gpx_file
attr_reader :points, :bounds, :lowest_point, :highest_point, :distance, :moving_duration
attr_accessor :segments, :name, :gpx_file, :description, :comment

# Initialize a track from a XML::Node, or, if no :element option is
# passed, initialize a blank Track object.
Expand Down
2 changes: 1 addition & 1 deletion lib/gpx/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module GPX
VERSION = "0.8.2"
VERSION = "0.8.3"
end

0 comments on commit a94c9e6

Please # to comment.