- 720p
- 540p
- 360p
- 0.50x
- 0.75x
- 1.00x
- 1.25x
- 1.50x
- 1.75x
- 2.00x
We hope you enjoyed this lesson.
Cool lesson, huh? Share it with your friends
About this lesson
In this lesson we'll create our first Ruby program!
Quick reference
Hello World and c9 Transition
In this lesson we'll create our first Ruby program!
When to use
This is the first program that all coders create...the hello world program!
Instructions
Create a new file called hello.rb and put it in the rubycourse directory that you just created. Inside of that file write the code:
puts "Hello World"
save the file and head back to the terminal. From inside the rubycourse directory, type the command:
ruby hello.rb
Hints & tips
- Hello World is the first program most new coders learn
- puts "Hello World"
Lesson notes are only available for subscribers.