Sha256: 96a082eac6d9f030a95b61e0360efd682564d63ad704aff01f071c2be0167ae9
Contents?: true
Size: 371 Bytes
Versions: 9
Compression:
Stored size: 371 Bytes
Contents
module SpotifyToMp3 class Grooveshark class Track attr_reader :client_track def initialize(client_track) @client_track = client_track end def to_s "#{@client_track.artist} - #{@client_track.name}" end def filename "#{self}.mp3".tr('/', '-') # / is not allowed in file names end end end end
Version data entries
9 entries across 9 versions & 1 rubygems