From: Paul Roche Date: 2010-10-23T05:10:15+09:00 Subject: Want to use methods instead of ObjectSpace Hi. I'm bumping this question again with a simpler twist........ I have these methods...... def self.list @@songs end def self.list_add=(val) @@songs << val end in song.rb ----------------------- I can successfully fetch in the 'songs'through a CSV file. I am able to populate an array like this..... songx = ObjectSpace.each_object(Song).to_a I want to do the same thing using Song.list_add --------------------- Any ideas? -- Posted via http://www.ruby-forum.com/.