Ruby Tutorial

Ruby Tutorial

Ruby is a scripting language designed by Yukihiro Matsumoto, also known as Matz. It runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX.

This tutorial gives a complete understanding on Ruby.


This reference has been prepared for the beginners to help them understand the basic to advanced concepts related to Ruby Scripting languages.


Before you start doing practice with various types of examples given in this reference, I'm making an assumption that you are already aware about what is a computer program and what is a computer programming language.

Compile/Execute Ruby Programs

For most of the examples given in this tutorial, you will find Try it option, so just make use of it and enjoy your learning.

Try following example using Try it option available at the top right corner of the below sample code box:


puts "Hello, Ruby!";

1 - Ruby Quick Reference Guide

A quick Ruby reference guide for Ruby Programmers.

Ruby Quick Reference Guide

2 - Ruby Built-In Useful Functions

A complete list of important Ruby Functions arranged in alphabetical order.

Ruby Built-In Useful Functions

3 - Ruby Useful Tools

A collection of useful standard and non standard tools for a Ruby Programmer.

Ruby Useful Tools

4 - Ruby Useful Resources

A collection of Ruby Sites, Books and Articles is given at this page.

Ruby Useful Resources

5 - Ruby on Rails Tutorials

A very good Web Development Framework based on Ruby.

Ruby on Rails Tutorials

6 - Ruby Tutorial in PDF

Download a quick Ruby tutorial in PDF format.

Ruby Tutorial in PDF