Ruby by Example

By Xah Lee. Date: . Last updated: .
There is a gem called Ruby.
Shiny and pretty.
Objectively beautiful,
Functionally magical.
Make Rails of web happy.
Ruby logo

This is a example-based ruby tutorial for beginners. Examples are based on Ruby 2.1.

Read the overview page: Ruby Basics. In 10 minutes, you should have a good feel of ruby.