Illustrated Ruby: Hello World

Our first program will print the classic “hello world” message. Here’s the full source code.

puts "hello world"

$ ruby examples/hello_world/hello_world.rb
hello world

Next example: Values