# Implementing the SongList the container

**URL:** <https://www.ruby-forum.com/t/implementing-the-songlist-the-container/152330>\
**Category:** Ruby\
**Created:** [November 2, 2008, 2:53pm UTC](https://www.ruby-forum.com/t/implementing-the-songlist-the-container/152330 "2008-11-02T14:53:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![edipofederle](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/a88e4f/32.png) [@edipofederle](https://www.ruby-forum.com/u/edipofederle)\
**Post date:** [November 2, 2008, 2:53pm UTC](https://www.ruby-forum.com/t/implementing-the-songlist-the-container/152330/1 "2008-11-02T14:53:34Z")

</div>

Hi, I’m trying to test one example of “Programming Ruby” - Implementing  
the SongList the container, I do not know if I am making sure the class  
would be something like this:

Code in Annex

But return SongList.rb:20: uninitialized constant Song (NameError)

---

<div class="post-metadata">

**Author:** ![edipofederle](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/a88e4f/32.png) [@edipofederle](https://www.ruby-forum.com/u/edipofederle)\
**Post date:** [November 2, 2008, 3:01pm UTC](https://www.ruby-forum.com/t/implementing-the-songlist-the-container/152330/2 "2008-11-02T15:01:31Z")

</div>

Sorry I missed … too … already working … lacked the class Song:)
