Display a message in the output pane

puts  output (anything)

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

Examples

# Example 1

print "hello there"  



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



# Example 2

print 5              



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



# Example 3

print foo            



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