method

nonblock

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: IO
nonblock(p1 = v1) public

Yields self in non-blocking mode.

When false is given as an argument, self is yielded in blocking mode. The original mode is restored after the block is executed.

Show source
Register or log in to add new notes.