mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
60defe0a68
[Feature #18982] Instead of introducing an `exception: false` argument to have `non_block` return nil rather than raise, we can clearly document that a timeout of 0 immediately returns. The code is refactored a bit to avoid doing a time calculation in such case. |
||
---|---|---|
.. | ||
basicobject | ||
enumerable | ||
enumerator | ||
fiber | ||
file | ||
hash | ||
io | ||
kernel | ||
math | ||
process | ||
queue | ||
rational | ||
sizedqueue | ||
string | ||
time |