Um momento

Learn Ruby

Learn an expressive language built around readable, flexible code.

Start learning 6 lessons · about 1.5 hours · free
About this track

Start with puts and variables, then explore strings, conditions, arrays, hashes, loops, methods, and classes. Every lesson includes a quick check, quiz, and Ruby exercise you can run against sample inputs.

Before you start
  • No programming experience needed.
  • A modern browser with JavaScript enabled.
  • A network connection is needed to run Ruby exercises with Wandbox.
  1. Unit 1 · 0/3 lessons

    Getting started

    Run a Ruby script and work with values and strings. Badge: First script

    1. 0x001Run your first Ruby programPrint a message and meet Ruby’s readable syntax. 13 min 0/1 exercises solved 13 min 0/1 exercises solved
    2. 0x102Store values in variablesName data and work with numbers, strings, and booleans. 13 min 0/1 exercises solved 13 min 0/1 exercises solved
    3. 0x203Work with strings and symbolsInterpolate text, transform strings, and recognize symbols. 13 min 0/1 exercises solved 13 min 0/1 exercises solved
  2. Unit 2 · 0/2 lessons

    Decisions and collections

    Branch on conditions, loop, and work with collections. Badge: Flow controller

    1. 0x304Choose a path with conditionsUse if, elsif, and else to make decisions. 13 min 0/1 exercises solved 13 min 0/1 exercises solved
    2. 0x405Collect values and repeat workUse arrays, hashes, and each to process collections. 13 min 0/1 exercises solved 13 min 0/1 exercises solved
  3. Unit 3 · 0/1 lessons

    Methods and objects

    Organize reusable behavior and data with classes. Badge: Object builder

    1. 0x506Build methods and simple classesWrite reusable methods and model objects with classes. 13 min 0/1 exercises solved 13 min 0/1 exercises solved
Gostou da aula? 😆👍
Apoie nosso trabalho com uma doação: