mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/io-console] [DOC] Note that IO#getpass returns a chomped string
IO#getpass uses String#chomp! on the read input line. https://github.com/ruby/io-console/commit/1e98c93bc8
This commit is contained in:
parent
3adf84a079
commit
451b456051
1 changed files with 4 additions and 0 deletions
|
@ -1574,6 +1574,10 @@ str_chomp(VALUE str)
|
|||
* Reads and returns a line without echo back.
|
||||
* Prints +prompt+ unless it is +nil+.
|
||||
*
|
||||
* The newline character that terminates the
|
||||
* read line is removed from the returned string,
|
||||
* see String#chomp!.
|
||||
*
|
||||
* You must require 'io/console' to use this method.
|
||||
*/
|
||||
static VALUE
|
||||
|
|
Loading…
Reference in a new issue