Display a message in the output pane

puts

[output (string)]

Displays the information you specify as a string inside the output pane. This can be a number, symbol, or a string itself. Useful for debugging. Synonym for print.

Introduced in v2.0.0

Example 0 


print "hello there"  



 
 #=> will print the string "hello there" to the output pane



Example 1 


print 5              



 
 #=> will print the number 5 to the output pane



Example 2 


print foo            



 
 #=> will print the contents of foo to the output pane