Перейти к основному содержимому
Академия
Начальный Квартал кода

Ruby

Элегантный код и Rails.

Ruby was designed to make programmers happy, and it shows: code that reads almost like English, where everything is an object and a block can say a lot in one clear line. This track starts from zero: printing and irb, values and symbols, decisions, arrays and hashes, blocks and iterators, then methods, classes, mixins and errors. It ends with Ruby on Rails, the framework behind GitHub and Shopify: a first tour, then models and migrations, views and forms, and tests.

Every lesson is short, checked with quizzes, and full of small programs you can run yourself.

Уроки
14
Время
2 ч
Уровень
Начальный

Уроки этого курса пока на английском.

  • Бронза доступна
  • Серебро доступна
  • Золото закрыта

Готовы это доказать?

Вас ждут три экзамена: бронза, серебро и золото.

К экзаменам

Чему вы научитесь

  • Write Ruby scripts, run them, and try ideas out in irb
  • Work with strings, symbols, arrays and hashes the Ruby way
  • Process collections in one clear line with blocks, map, select and sum
  • Model your own data with classes, modules and mixins
  • Raise and rescue errors with begin, rescue and ensure
  • Read a Rails app: routes, controllers and Active Record queries

Маршрут

  1. 1
    Модуль 1

    Ruby basics

    Print, store values, make decisions, and process arrays and hashes with blocks.

    0 / 6
  2. 2
    Модуль 2

    Objects and Rails

    Methods, classes, mixins and errors, then a first look at Ruby on Rails.

    0 / 4
  3. 3
    Модуль 3

    Next: Rails for real

    Migrations and models, views and forms, and tests for a real Rails app.

    0 / 4

Быстрая навигация