Skip to content

Commit

Permalink
[ruby/io-console] [DOC] Remove a trailing space from the prompt too
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu authored and matzbot committed Aug 18, 2023
1 parent 1107cfd commit 1bbce42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/io/console/console.c
Original file line number Diff line number Diff line change
Expand Up @@ -1580,7 +1580,7 @@ str_chomp(VALUE str)
* You must require 'io/console' to use this method.
*
* require 'io/console'
* IO::console.getpass("Enter password: ")
* IO::console.getpass("Enter password:")
* Enter password:
* # => "mypassword"
*
Expand Down

0 comments on commit 1bbce42

Please sign in to comment.