From: Alex Chaffee Date: 2012-01-26T03:42:39+09:00 Subject: Re: Print and puts. What inputs do they require? > How does print know to output what "gets" receives? > Also, when replacing print with puts how come it doesn't > output the numbers any more? To decipher Ryan's answer, print with no arguments prints $_, which was just set by gets. And a solo puts *doesn't* print $_; instead it prints a newline. I agree with Ryan that ri is your friend, and I wish that RVM installed ri files by default instead of making you run "rvm docs generate". -- Alex Chaffee - alex@stinky.com http://alexchaffee.com http://twitter.com/alexch