courses / ruby

learn ruby

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

write ruby like a professional.

For people who build things on their own and want code that others trust and can change.

1 unit 1 Blocks, procs and lambdas Pass code around like any other value. 0 of 4 · 48 min
  1. Yield to a block11 min
  2. Procs12 min
  3. Lambdas12 min
  4. Closures13 min
2 unit 2 Your own collections Make your own classes loop, sort and search like arrays. 0 of 4 · 48 min
  1. Your own each11 min
  2. Include Enumerable12 min
  3. Enumerable power tools12 min
  4. Enumerators13 min
3 unit 3 Lazy and endless Work with streams of data that never end, or are too big to load at once. 0 of 4 · 49 min
  1. Endless ranges11 min
  2. Generators13 min
  3. Lazy12 min
  4. Lazy pipelines13 min
4 unit 4 Code that writes code Call, create and catch methods while the program runs. 0 of 4 · 49 min
  1. Send12 min
  2. Define_method12 min
  3. Method_missing13 min
  4. Respond_to_missing?12 min
5 unit 5 Build a small DSL Design your own mini-language inside Ruby. 0 of 4 · 50 min
  1. Instance_eval and self12 min
  2. A settings DSL12 min
  3. Nested DSLs13 min
  4. Class macros13 min
6 unit 6 Values and patterns Model data with Struct and Data, then take it apart with patterns. 0 of 4 · 49 min
  1. Struct11 min
  2. Data11 min
  3. Pattern matching13 min
  4. Deeper patterns14 min
7 unit 7 Rails ideas in plain Ruby Build models that lock, check and tidy themselves, the way Rails does. 0 of 4 · 50 min
  1. Freezing11 min
  2. Validations14 min
  3. Callbacks12 min
  4. Convention over configuration13 min
end of level 3 level check Build one small project with everything from this level. Pass it and your face levels up. see the check