From: Jim Weirich Date: 2005-12-23T21:46:21+09:00 Subject: Re: Displaying object variables, not obj ID Tobias Jonch wrote: > Checking with the Pickaxe, I see they have a solution (no obvious > explanation though), where they suggest redifining to_s to accomodate > its purpose in their 'song' class. This is no good for me though, as to_s > will be used to display a lot of things, not just chromosomes. Perhaps you are not aware that defining a to_s method in the Chromosome class will only affect how Chromosomes are displayed, nothing else. -- -- Jim Weirich -- Posted via http://www.ruby-forum.com/.