Constructor and Description |
---|
IOWaitLibrary() |
Modifier and Type | Method and Description |
---|---|
static IRubyObject |
io_wait(ThreadContext context,
IRubyObject obj)
waits until input available or timed out and returns self, or nil when EOF reached.
|
void |
load(Ruby runtime,
boolean wrap) |
static IRubyObject |
ready(ThreadContext context,
IRubyObject obj)
returns non-nil if input available without blocking, false if EOF or not open/readable, otherwise nil.
|
public static IRubyObject ready(ThreadContext context, IRubyObject obj)
public static IRubyObject io_wait(ThreadContext context, IRubyObject obj)
Copyright © 2001-2016 JRuby. All Rights Reserved.