From: Joel VanderWerf Date: 2006-04-02T05:32:54+09:00 Subject: Re: TrueClass/FalseClass vs. Boolean 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? -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407