From: ara.t.howard@... Date: 2006-04-02T05:49:15+09:00 Subject: Re: TrueClass/FalseClass vs. Boolean On Sun, 2 Apr 2006, Joel VanderWerf wrote: > ara.t.howard@noaa.gov wrote: >> def maybe() [rand].pack('f').unpack('c').first[0].zero? end > > What does > > [rand].pack('f').unpack('c').first[0] > > do that > > rand(2) > > doesn't? sheesh - can't you tell it looks longer! ;-) -a -- share your knowledge. it's a way to achieve immortality. - h.h. the 14th dali lama