Lessons

An introduction to writing Ruby

Ruby · Introductory. Ten lessons. Open-book quizzes. Lesson 1 free.

10 lessons · The Host · Lesson 1 free

Pass all ten lessons for the certificate. Sample · Claim

  1. Lesson 1 · On the house

    puts and p

    Print in Ruby.

  2. Lesson 2

    Variables and objects

    Local names.

  3. Lesson 3

    Strings

    Quotes and interpolation.

  4. Lesson 4

    Numbers and math

    Integer and Float.

  5. Lesson 5

    Arrays

    Ordered collections.

  6. Lesson 6

    Hashes

    Key-value maps.

  7. Lesson 7

    if / unless / elsif

    Branches.

  8. Lesson 8

    each and blocks

    do ... end

  9. Lesson 9

    Methods

    def name ... end

  10. Lesson 10

    A small program

    Method + interpolate.

Sample certificate

Certificate of completion

Sign in to claim your certificate of completion.

Certificate

Finish all ten lessons, then sign in

Pass every lesson on this device (quizzes and checks). Then sign in or create an account to type your name and download the JPG.

All lessons

An introduction to writing Ruby — The Gold Standard