Interactive Programming Forums
Login
Register
Home
Questions/Snippets/Exercises
Unanswered
Tags
Ask a Question
Post a Code Snippet
Post an Exercise
Welcome to Interactive Programming Forums, where you can ask questions, receive answers from other members of the community, post code snippets and post exercies.
All categories
Ruby
(3)
Python
(10)
PHP
(7)
Perl
(2)
SQL
(8)
Javascript
(6)
HTML
(20)
CSS
(4)
jQuery
(0)
XML
(3)
Code Snippets
(1)
Exercises
(4)
Other
(9)
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
i want to download ruby program both line command and GUI
posted
12 years
ago
in
Ruby
by
jampart
(
2,250
points)
+2
votes
2
answers
What is Ruby?
posted
13 years
ago
in
Ruby
by
aoantonyodhiambo84
(
700
points)