Sage-Code Laboratory

What is Ruby?

Ruby is a dynamic, interpreted, reflective, object-oriented, general-purpose programming language. It was designed and developed in the mid-1990ΛΆ by Yukihiro Matz Matsumoto from Japan. According to the creator, Ruby was influenced by Perl, Smalltalk, Eiffel, Ada, and Lisp.

Video Lecture

If you have the bandwith, you can watch the next video to learn Ruby language. This film is 55 min long, it has few ads before starts but is very informative for beginners. It was filmed by Derek Banas in Feb 2015. Derek do not work for Sage-Code. Just that I was learning from this video and I liked it. Maybe you will like it to.

HTML Tutorial

Learning Ruby

Next tutorial will describe Ruby language in details. If you read one page every day you will finish learning in one week. We organize pages in logical order but sometimes you need to read them twice. For each page you should spend about 1 hour. Don't forgate to take a breack after reading each page. You can use the next index to visit each chapter. If you are first time here, ignore the index for now and continue reading.


Ruby vs Python

Ruby is a general purpose scripting language and has very good drivers for databases. Therefore Ruby is as good as Python for creation of test automation scripts, data pipelines and server side scripts. It has a different philosophy than Python that make Ruby programmers slightly more productive. Ruby is also about 30% faster than Python.

External References

Ruby is open source and it has its well maintained website. I have done this tutorial by reading the documentation. You should read it if you decide to use Ruby for your future projects. Here are the official links for Ruby documentation and software:

Read next: Ruby Syntax