Ruby


Want to learn and master Ruby?

Join Exercism’s Ruby Track for access to 109 exercises grouped into 18 Ruby Concepts, with automatic analysis of your code and personal mentoring , all 100% free.

Explore concepts
Ruby

About Ruby

class HelloWorld
  def self.hello(name = 'World')
    "Hello, #{name}!"
  end
end

Key Features of Ruby


Ruby

Developer happiness

Ruby puts developer-happiness first. It has an elegant syntax that is natural to read and write.

Metaprogramming magic

Ruby code can write and invoke Ruby code.

Garbage Collection

Garbage collection done via mark and sweep, stays out of your way.

Large standard library

Ruby's standard library provides a wealth of classes utilities for common tasks.

Flexible package manager

Packages (gems) can be centrally managed, but can also include custom or private gem stores.

Strong, dynamic typing

Ruby is strong and dynamically typed and supports 'Duck Typing'. Everything in Ruby is an object

A taste of the concepts you’ll cover


See all the concepts for Ruby

Get mentored the Ruby way

Every language has its own way of doing things. Ruby is no different. Nunc et ipsum in erat congue cursus. Donec dignissim accumsan elit, quis tristique massa scelerisque sed. Quisque tellus augue, laoreet in sem non, feugiat dictum leo. Morbi ac enim ut nulla vulputate pulvinar congue non velit.

Learn more about mentoring

Community-sourced Ruby exercises

The Ruby track on Exercism has 120 concepts and 100 exercises to help you write better code. Discover new exercises as you progress and get engrossed in learning new concepts and improving the way you currently write.

See all Ruby exercises
Ruby

Get started with the Ruby track

The best part, it’s 100% free for everyone.