method

cooked

Importance_1
v1_9_3_392 - Show latest stable - 0 notes - Class: IO
cooked() public

Yields self within cooked mode.

STDIN.cooked(&:gets)

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

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

Show source
Register or log in to add new notes.