Introduction to Ruby

How this course works, what the workbench can do, and the chapter list.

This is a Ruby course for the Swiftener Ruby Playground (ruby.wasm). Always puts. Python belongs in Introduction to Python.

Goal

Finish every chapter by running the copy-paste blocks. The last chapter is a kiosk till you can reuse.

How to take the course

  1. Keep this tutorial tab and the Ruby Playground side by side.
  2. Wait until Ruby is ready.
  3. Copy an exercise, paste it as the whole editor, then press Ctrl+Enter (or Cmd+Enter).
  4. Always puts a result.

What this playground can and cannot do

  • Can: Ruby, puts, p, local drafts, a kiosk text file.
  • Cannot: installing gems, or a system shell.

Sample files

  • kiosk.txt — Nairobi kiosk lines

Chapter list