DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Matthew is a DZone employee and has posted 155 posts at DZone. You can read more from them at their website. View Full User Profile

Ruby Hello World

02.02.2009
| 4838 views |
  • submit to reddit
        The easiest way to run Ruby interactively is simply to type ``ruby'' at the shell prompt.

% ruby
puts "Hello, world!"