Welcome to Interactive Programming Forums, where you can ask questions, receive answers from other members of the community, post code snippets and post exercies.

print vs puts

+12 votes
What's the difference between the two in Ruby?
posted 13 years ago in Ruby by certtutor (890 points)

1 Answer

+1 vote
Puts adds a newline.  Print doesn't.
answered 13 years ago by mleber (9,940 points)

Related questions

+10 votes
1 answer
posted 12 years ago in Ruby by jampart (2,250 points)
+2 votes
2 answers
posted 13 years ago in Ruby by aoantonyodhiambo84 (700 points)