Saturday, April 18, 2015

Learning Ruby part II

Basic tutorial at code.org was just that -- basic.
Now I'm trying their next tutorial, which seems to deal with input and string manipulation.

gets accepts user input
gets inserts a blank line after the input. the method .chomp removes the line
gets.chomp accepts user input without adding an extra line

No comments:

Post a Comment