Module: IO::generic_readable (Ruby 2.2.2)
Description: Module : IO::generic_readable - Ruby 2.2.2

- Home
- Core 2.2.2
- Std-lib 2.2.2
- Downloads

Support for the Ruby 2.2 series has ended. See here for reference.

### Home Classes Methods

### In Files

- io/console/console.c

### Methods

- #getch

### Class/Module Index

Quicksearch

- IO
- IO::generic_readable

No matching classes.

# 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);
    }