Class: Muzak::Album
- Inherits:
-
Object
- Object
- Muzak::Album
- Defined in:
- lib/muzak/album.rb
Instance Attribute Summary collapse
-
#cover_art ⇒ Object
readonly
Returns the value of attribute cover_art.
-
#songs ⇒ Object
readonly
Returns the value of attribute songs.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(title, album_hash) ⇒ Album
constructor
A new instance of Album.
Constructor Details
Instance Attribute Details
#cover_art ⇒ Object (readonly)
Returns the value of attribute cover_art.
3 4 5 |
# File 'lib/muzak/album.rb', line 3 def cover_art @cover_art end |
#songs ⇒ Object (readonly)
Returns the value of attribute songs.
3 4 5 |
# File 'lib/muzak/album.rb', line 3 def songs @songs end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
3 4 5 |
# File 'lib/muzak/album.rb', line 3 def title @title end |