Class: Track

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

Instance Attribute Summary collapse

Instance Attribute Details

#albumObject

Returns the value of attribute album.



4
5
6
# File 'lib/track.rb', line 4

def album
  @album
end

#artistObject

Returns the value of attribute artist.



4
5
6
# File 'lib/track.rb', line 4

def artist
  @artist
end

#genreObject

Returns the value of attribute genre.



4
5
6
# File 'lib/track.rb', line 4

def genre
  @genre
end

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/track.rb', line 4

def name
  @name
end

#play_countObject

Returns the value of attribute play_count.



4
5
6
# File 'lib/track.rb', line 4

def play_count
  @play_count
end

#sizeObject

Returns the value of attribute size.



4
5
6
# File 'lib/track.rb', line 4

def size
  @size
end

#timeObject

Returns the value of attribute time.



4
5
6
# File 'lib/track.rb', line 4

def time
  @time
end

#track_idObject

Returns the value of attribute track_id.



4
5
6
# File 'lib/track.rb', line 4

def track_id
  @track_id
end