method

console

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: IO
console(*args) public

Returns an File instance opened console.

If sym is given, it will be sent to the opened console with args and the result will be returned instead of the console IO itself.

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

Show source
Register or log in to add new notes.