Class: Track
- Inherits:
-
Object
- Object
- Track
- Defined in:
- lib/track.rb
Instance Attribute Summary collapse
-
#album ⇒ Object
Returns the value of attribute album.
-
#artist ⇒ Object
Returns the value of attribute artist.
-
#genre ⇒ Object
Returns the value of attribute genre.
-
#name ⇒ Object
Returns the value of attribute name.
-
#play_count ⇒ Object
Returns the value of attribute play_count.
-
#size ⇒ Object
Returns the value of attribute size.
-
#time ⇒ Object
Returns the value of attribute time.
-
#track_id ⇒ Object
Returns the value of attribute track_id.
Instance Attribute Details
#album ⇒ Object
Returns the value of attribute album.
4 5 6 |
# File 'lib/track.rb', line 4 def album @album end |
#artist ⇒ Object
Returns the value of attribute artist.
4 5 6 |
# File 'lib/track.rb', line 4 def artist @artist end |
#genre ⇒ Object
Returns the value of attribute genre.
4 5 6 |
# File 'lib/track.rb', line 4 def genre @genre end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/track.rb', line 4 def name @name end |
#play_count ⇒ Object
Returns the value of attribute play_count.
4 5 6 |
# File 'lib/track.rb', line 4 def play_count @play_count end |
#size ⇒ Object
Returns the value of attribute size.
4 5 6 |
# File 'lib/track.rb', line 4 def size @size end |
#time ⇒ Object
Returns the value of attribute time.
4 5 6 |
# File 'lib/track.rb', line 4 def time @time end |
#track_id ⇒ Object
Returns the value of attribute track_id.
4 5 6 |
# File 'lib/track.rb', line 4 def track_id @track_id end |