Class: Earworm::Track
- Inherits:
-
Object
- Object
- Earworm::Track
- Defined in:
- lib/earworm/track.rb
Instance Attribute Summary collapse
-
#artist_name ⇒ Object
(also: #artist)
Returns the value of attribute artist_name.
-
#puid_list ⇒ Object
Returns the value of attribute puid_list.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize ⇒ Track
constructor
A new instance of Track.
Constructor Details
#initialize ⇒ Track
Returns a new instance of Track.
5 6 7 8 9 |
# File 'lib/earworm/track.rb', line 5 def initialize @title = nil @artist_name = nil @puid_list = [] end |
Instance Attribute Details
#artist_name ⇒ Object Also known as: artist
Returns the value of attribute artist_name.
3 4 5 |
# File 'lib/earworm/track.rb', line 3 def artist_name @artist_name end |
#puid_list ⇒ Object
Returns the value of attribute puid_list.
3 4 5 |
# File 'lib/earworm/track.rb', line 3 def puid_list @puid_list end |
#title ⇒ Object
Returns the value of attribute title.
3 4 5 |
# File 'lib/earworm/track.rb', line 3 def title @title end |