Created
January 8, 2018 10:12
-
-
Save pointcom/3487ab4c7629bd72daaaf379294bf44a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://ruby-doc.org/core-2.5.0/IO.html#method-i-gets | |
# Ruby >= 2.4 | |
irb(main):001:0> gets(chomp: true) | |
hello world | |
=> "hello world" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment