TutorialsPreview
LearnReferencebeginner6 min

Introduction to Ruby

Designed for developer happiness and elegant code.

You will learn

What Ruby is, why it matters, and how to navigate this track.

Ruby was designed for developer happiness — readable, expressive, and a delight for building things fast.

What is Ruby?

Ruby is a dynamic, object-oriented scripting language where almost everything is an object and the syntax reads like prose.

Paired with Rails, it became the language that launched countless startups.

Your first example

Here is Ruby saying hello. Read it top to bottom — every line earns its place.

puts "Hello, world!"
Hello, world!

Why learn Ruby?

  • Elegant, expressive syntax optimised for readability.
  • Ruby on Rails makes building web apps remarkably fast.
  • A friendly, mature community and ecosystem.

Where it is used

  • Web apps (Rails)
  • Scripting & automation
  • Prototyping
  • DevOps tooling

How this track works

Every topic here has four views, switchable with the tabs at the top of each page:

  • Learn — the clear, practical walkthrough you are reading now.
  • Deep — every detail: edge cases, the full API, and what is really happening.
  • Reference — a scannable, no-fluff lookup for when you already know the shape.
  • Cheatsheet — the one-page summary, printable, for quick recall.

More like this

H
Reference·beginner·8 min

HTML Headings

h1 through h6 are the page’s table of contents. Use them for structure, never for size — that’s what CSS is for.

H
Reference·intermediate·18 min

HTML Headings

h1–h6 are instances of HTMLHeadingElement. They take no special attributes — only the global set and ARIA — but there’s real depth in how they form the document outline and what you can do with them from JavaScript.

H
Reference·beginner·2 min

HTML Headings

Headings, distilled to what you must remember.

Liked this one?

Pass it on

Discussion

Be the first to ask

Your questions stay private with the team. We can pin answers to share with everyone.

Sign in to ask a question privately on this tutorial.

Sign in

No pinned answers yet for this tutorial.