From: Richard Lionheart Date: 2004-04-28T15:29:03+09:00 Subject: Re: Problem assigning an Array object to an Array-subclass object Thanks, Kristof > class Array > def my_to_s > join("; ") > end > end > > a = %w[x1 y1] > puts a.my_to_s > > #note (you could even replace the to_s method) I realize now I could just append ..join("; ").to_s to my array and not bother with subclassing Array, etc. Regards, Richard --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.665 / Virus Database: 428 - Release Date: 4/26/2004