Join Exercism’s Ruby Track for access to 120 exercises grouped into 20 Ruby Concepts, with automatic analysis of your code and personal mentoring, all 100% free.
class HelloWorld
def self.hello(name = 'World')
"Hello, #{name}!"
end
end
Get better at programming through fun, rewarding coding exercises that test your understanding of concepts with Exercism.
Given a letter, print a diamond starting with 'A' with the supplied letter at the widest point.
Given a word and a list of possible anagrams, select the correct sublist.
Randomly generate Dungeons & Dragons characters.
Ruby puts developer-happiness first. It has an elegant syntax that is natural to read and write.
Ruby code can write and invoke Ruby code.
Garbage collection done via mark and sweep, stays out of your way.
Ruby's standard library provides a wealth of classes utilities for common tasks.
Packages (gems) can be centrally managed, but can also include custom or private gem stores.
Ruby is strong and dynamically typed and supports 'Duck Typing'. Everything in Ruby is an object
Every language has its own way of doing things. Ruby is no different. Our mentors will help you learn to think like a Ruby developer and how to write idiomatic code in Ruby. Once you've solved an exercise, submit it to our volunteer team, and they'll give you hints, ideas, and feedback on how to make it feel more like what you'd normally see in Ruby - they'll help you discover the things you don't know that you don't know.
Learn more about mentoringThe Ruby track on Exercism has 20 concepts and 120 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 exercisesThe best part, it’s 100% free for everyone.