Support for the Ruby 2.1 series ended on March 31 2017. See here for details.

In Files

  • io/console/console.c

Methods

Class/Module Index [+]

Quicksearch

IO::generic_readable

Public Instance Methods

getch(min: nil, time: nil) → char click to toggle source

See IO#getch.

 
               static VALUE
io_getch(int argc, VALUE *argv, VALUE io)
{
    return rb_funcall2(io, rb_intern("getc"), argc, argv);
}