Before we start implementing, we'll need to work out how to store the
list of songs inside a
SongList
object. We have three obvious
choices. We could use the Ruby
Array
type, use the Ruby
Hash
type,
or create our own list structure. Being lazy, for now we'll
look at arrays and hashes, and choose one of these for our class.