Ruby - Console (print and put)
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"
The print command prints simply to the screen.
print "Hello World"
puts stands for “put string”. It adds a new (blank) line after what you print.
puts "Hello World"