Closed BenGitsCode closed 7 years ago
Possible starter code:
# Album class
class Album # Albums have an artist, title, and tracks
attr_reader :artist, :title
attr_accessor :tracks
@@collection = []
def initialize(artist:, title:)
@artist = artist
@title = title
@tracks = []
end
end
class Song
attr_reader :title
def initialize(title:)
@title = title
end
end
I like this starter code more than what is present as of 8fb9bd619ff. (at least in the specs)
That said, thanks for cleaning this up so much!
starter code from previous lesson required for tests to work.
Not sure which previous lesson, discovered during delivery.