Ruby by Example / Hello World
You can try ruby interactively.
# This is a comment.
puts("Hello, World!")
# Parenthesis are optional
puts "Hello, World!"
=begin
This is a
multi-line comment.
=end
To run the code put it in hello.rb and use ruby hello.rb.