Skip to content
This repository was archived by the owner on Apr 27, 2020. It is now read-only.

Commit 8c4d72e

Browse files
committed
Better naming
1 parent 28c21f7 commit 8c4d72e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: lib/spotify_to_mp3/track.rb

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ module SpotifyToMp3
22
class Track
33
attr_reader :grooveshark_query
44

5-
def initialize(id, grooveshark_query = nil)
6-
@id = id
7-
@grooveshark_query = grooveshark_query || @id
5+
def initialize(description, grooveshark_query = nil)
6+
@description = description
7+
@grooveshark_query = grooveshark_query || @description
88
end
99

1010
def to_s
11-
@id
11+
@description
1212
end
1313
end
1414
end

0 commit comments

Comments
 (0)