class Muzak::Album

Represents a collection of songs for muzak.

Attributes

cover_art[R]

@return [String] the path to the album's cover art

songs[R]

@return [Array<Muzak::Song>] the album's songs

title[R]

@return [String] the album's title

Public Class Methods

new(title, songs, cover_art = nil) click to toggle source

@param title [String] the album's title @param songs [Array<Song>] the album's songs @param cover_art [String] the album's cover art

# File lib/muzak/album.rb, line 18
def initialize(title, songs, cover_art = nil)
  @title     = title
  @songs     = songs
  @cover_art = cover_art
end