Class: DTAS::Track
- Inherits:
-
Object
- Object
- DTAS::Track
- Defined in:
- lib/dtas/track.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#to_path ⇒ Object
readonly
Returns the value of attribute to_path.
-
#track_id ⇒ Object
readonly
Returns the value of attribute track_id.
Instance Method Summary collapse
-
#initialize(track_id, path) ⇒ Track
constructor
A new instance of Track.
Constructor Details
#initialize(track_id, path) ⇒ Track
Returns a new instance of Track.
10 11 12 13 |
# File 'lib/dtas/track.rb', line 10 def initialize(track_id, path) @track_id = track_id @to_path = path end |
Instance Attribute Details
#to_path ⇒ Object (readonly)
Returns the value of attribute to_path.
8 9 10 |
# File 'lib/dtas/track.rb', line 8 def to_path @to_path end |
#track_id ⇒ Object (readonly)
Returns the value of attribute track_id.
7 8 9 |
# File 'lib/dtas/track.rb', line 7 def track_id @track_id end |