Learn Ruby
Getting started
1.5
Lesson

Running code using keyboard

To run the code you can click on “Run” in the code editor and that would run the code. However you can also run the code without using mouse.

If you are using Windows then press Ctrl and then hit Enter to run the code.

If you are using Mac then press Command and then hit Enter to run the code.

Now try running the code given below without clicking on “Run”.