# Print the string "Hello World." To start off, we're going to
# output the double-quoted value. This will evaluate the string
# for any embedded variables.

puts "Hello World"


# Demonstrate the embedded variable behavior.

message = 'Hello World'
puts "#{message}"


# Print the string 'Hello World.' When using single quotes, the
# string will be treated as a literal; that is, no evaluation of
# the string will take place.

puts 'Hello World'


# As a final approach, we're going to remove some of the "syntactic
# sugar" and fall back on a more tradional look and feel.

puts( "Hello World" );


# There is also a "print" method will will print to the standard
# output (like puts), but will not append any new line.

print "Hello World\n"