Class: Movescount::TrackPoint
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- Movescount::TrackPoint
- Defined in:
- lib/movescount/track_point.rb
Instance Attribute Summary collapse
-
#move ⇒ Object
Returns the value of attribute move.
Instance Method Summary collapse
-
#initialize(move, attributes = {}) ⇒ TrackPoint
constructor
A new instance of TrackPoint.
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
#move ⇒ Object
Returns the value of attribute move.
3 4 5 |
# File 'lib/movescount/track_point.rb', line 3 def move @move end |