Flowdock
method

cooked

Importance_1
Ruby latest stable (v1_9_3_392) - 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.