Write Your First Ruby Program

Learn to write a basic "Hello World" program in Ruby.

"Hello World!" in Ruby

Let's first look at the output of the following program by clicking the "Run" button of the widget given below:

Get hands-on with 1400+ tech skills courses.