Zest.

Ruby: Hello world

A short, tested Ruby example for hello world. Copy it and adjust the names and paths for your project.

Ruby
puts "Hello, World!"

Find it in Zest

Search for “ruby hello world” in Zest and this example appears above the results, with other matches to choose from. Searches stay private.

More Ruby examples

All Ruby examples