Table of Contents

print

The print command prints simply to the screen.

print "Hello World"

puts

puts stands for “put string”. It adds a new (blank) line after what you print.

puts "Hello World"