From: Pokkai Dokkai Date: 2008-04-17T16:06:08+09:00 Subject: Re: how to create random object to a particular ruby object Joel VanderWerf wrote: > Martin DeMello wrote: > > Here is the dirtiest, wrongest, ugliest way to do it: but that is worked for me . > module ObjectSpace > p ObjectSpace.random_object(String) > p ObjectSpace.random_object(Float) thank you to all -- Posted via http://www.ruby-forum.com/.