El Martes 31 Marzo 2009, Sean O'Halpin escribi
> Hi,
>
> Just thought I'd share this to save anyone else the bafflement it caused
> me.
>
> In ruby 1.8.x and jruby, sleep(0) means do not sleep at all. In 1.9,
> it appears to mean sleep forever.

I've tested it in Ruby 1.9.1 and sleep(0) means do not sleep at all.


> Perhaps differing interpretations of this ambiguous documentation from ri?
>
> "Zero arguments causes sleep to sleep forever."

This must be a doc bug.


-- 
Iñáki Baz Castillo <ibc / aliax.net>