method

cooked

Importance_1
v2_5_5 - 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.