/ruby_training

Learn the Ruby language through solving real engineering problems.

Primary LanguageRuby

Ruby Training

Learn Ruby, through solving problems.

Headache before Aspirin

To get the most out of this training, you must follow a golden rule: wait until you have the headache, before reaching for the aspirin.

In practice, this means avoiding clicking on tempting links, such as those listed in the "Useful links" section of each exercise, until you really need them.

It's easy to get stuck in a rabbit hole when learning to program, and every article you read leads to every other article – it's overwhelming. For this training, avoid following the rabbit hole. There's zero credit for extra reading. In fact, there's extra credit, the less reading you do – unless you really need it.

Prerequisites

To start this training, you will need to know:

  1. How to navigate the command-line using the following command-line commands: cd, ls, touch, rm, and mv.
  2. How to use basic git using the following command-line commands: git clone, git pull, git push, and git branch.

Exercises

  1. Calculator will train you in irb, functions, and constants.
  2. Greeter will train you in I/O, and String methods.
  3. Fizzbuzz will train you in conditional flow of control, ranges, and arrays, and iterations.
  4. Todo will train you in arrays, variables, and the Time and File classes.
  5. will train you in loops.
  6. will train you in hashes and collection methods.

Extra practice

  1. Calculator B will give you practice at the topics covered in Calculator.
  2. Calculator C will give you practice at the topics covered in Calculator.
  3. Calculator D will give you practice at the topics covered in Calculator.