method

raw

v1_9_3_392 - Show latest stable - Class: IO
raw(*args)
public

Yields self within raw mode.

STDIN.raw(&:gets)

will read and return a line without echo back and line editing.

You must require ‘io/console’ to use this method.