courses / ruby

learn ruby

Three levels, from never written code to writing it like a professional. Elegant and a joy to read.

from zero to your first real programs.

For people who have never written a line of code. Nothing is assumed: every new word is explained the moment it appears.

1 unit 1 Say hello Make the computer do exactly what you tell it. 0 of 4 · 26 min
  1. What code really is5 min
  2. Your first line6 min
  3. Lines, print and puts7 min
  4. When it goes wrong8 min
2 unit 2 Boxes with names Make the computer remember things. 0 of 4 · 30 min
  1. A variable is a labelled box7 min
  2. Boxes can change8 min
  3. Good names, bad names7 min
  4. Asking a question8 min
3 unit 3 Words and numbers Tell text and numbers apart and use both. 0 of 4 · 30 min
  1. Text vs numbers7 min
  2. Doing maths8 min
  3. Tricks with text7 min
  4. Putting values inside text8 min
4 unit 4 Make decisions Make your program choose what to do. 0 of 4 · 30 min
  1. If this, do that8 min
  2. Otherwise…6 min
  3. More than two choices8 min
  4. And, or, not8 min
5 unit 5 Repeat yourself Do the same thing many times without copying. 0 of 4 · 31 min
  1. Repeat with times8 min
  2. Repeating with while8 min
  3. Loops that decide8 min
  4. Stopping early7 min
6 unit 6 Arrays Keep many things together and work through them. 0 of 4 · 31 min
  1. Making an array6 min
  2. Reading and changing items9 min
  3. Looping over an array8 min
  4. Searching an array8 min
7 unit 7 Your own methods Wrap code up so you can use it again. 0 of 4 · 30 min
  1. Making a method7 min
  2. Giving it information7 min
  3. Getting an answer back7 min
  4. Putting it all together9 min
end of level 1 level check Build one small project with everything from this level. Pass it and your face levels up. see the check