diff options
author | Eric Wong <e@80x24.org> | 2015-12-14 04:16:16 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-01-22 06:12:58 +0000 |
commit | de8d11790c6c20cda59ec14f4188cfbbba6b9eb2 (patch) | |
tree | b82c2ee794a43c98641e43f7459e6e93c9895223 /lib/dtas/track.rb | |
parent | 92b9c735c28a3a296cd4dd2f10bbdbac5febb2f8 (diff) | |
download | dtas-de8d11790c6c20cda59ec14f4188cfbbba6b9eb2.tar.gz |
This will allow us to implement the versioning policy of mpd. But perhaps that's a bad idea...
Diffstat (limited to 'lib/dtas/track.rb')
-rw-r--r-- | lib/dtas/track.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/dtas/track.rb b/lib/dtas/track.rb index e5a3051..e62a30e 100644 --- a/lib/dtas/track.rb +++ b/lib/dtas/track.rb @@ -6,9 +6,11 @@ require_relative '../dtas' class DTAS::Track # :nodoc: attr_reader :track_id attr_reader :to_path + attr_reader :version - def initialize(track_id, path) + def initialize(track_id, path, version) @track_id = track_id @to_path = path + @version = version end end |