In this lesson, we are going to learn the different options available to print messages to the Ruby console. The first way is to use the puts method. Consider this example:
puts "A string"
The preceding line will display the content, A string.