method
new
v2_2_9 -
Show latest stable
- Class:
Gem::StreamUI
new(in_stream, out_stream, err_stream=STDERR, usetty=true)public
Creates a new StreamUI wrapping in_stream for user input, out_stream for standard output, err_stream for error output. If usetty is true then special operations (like asking for passwords) will use the TTY commands to disable character echo.