IO::generic_readable

module IO::generic_readable

Public Instance Methods

getch(min: nil, time: nil) → char Show source

See IO#getch.

static VALUE
io_getch(int argc, VALUE *argv, VALUE io)
{
    return rb_funcall2(io, rb_intern("getc"), argc, argv);
}
read_nonblock(integer[, outbuf [, opts]]) → string 登录查看完整内容