IO class of PicoRuby

Singleton methods

clear_screen

IO.clear_screen() -> nil

get_cursor_position

IO.get_cursor_position-> ([Integer, Integer])

wait_terminal

IO.wait_terminal(?timeout: Integer|Float) -> String

Instance methods

cooked

instance.cooked() { (IO io) -> untyped } -> untyped

cooked!

instance.cooked!() -> self

echo=

instance.echo=(bool mode) -> bool

echo?

instance.echo?() -> bool

getch

instance.getch() -> String

raw

instance.raw() { (IO io) -> untyped } -> untyped

raw!

instance.raw!() -> self

Type aliases

fd_t

Integer | IO
Tags: class