Class: Movescount::TrackPoint

Inherits:
OpenStruct
  • Object
show all
Defined in:
lib/movescount/track_point.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(move, attributes = {}) ⇒ TrackPoint

Returns a new instance of TrackPoint.



5
6
7
8
# File 'lib/movescount/track_point.rb', line 5

def initialize(move, attributes={})
  @move = move
  super attributes
end

Instance Attribute Details

#moveObject

Returns the value of attribute move.



3
4
5
# File 'lib/movescount/track_point.rb', line 3

def move
  @move
end