Class: DTAS::Track

Inherits:
Object
  • Object
show all
Defined in:
lib/dtas/track.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

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_pathObject (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_idObject (readonly)

Returns the value of attribute track_id.


7
8
9
# File 'lib/dtas/track.rb', line 7

def track_id
  @track_id
end