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
by Loic Nageleisen | source | license