S
Sean O'Halpin
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.
In both cases, sleep with no arguments means sleep forever.
Perhaps differing interpretations of this ambiguous documentation from ri?
"Zero arguments causes sleep to sleep forever."
Regards,
Sean
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.
In both cases, sleep with no arguments means sleep forever.
Perhaps differing interpretations of this ambiguous documentation from ri?
"Zero arguments causes sleep to sleep forever."
Regards,
Sean