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 bandwidth, 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 forget to take a break 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.

Index


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.

Ruby Quiz

Next quiz does not have a time limit, but you should finish in less than 30 minutes. You can scan the code using a mobile or tablet. If you are already on mobile device, tap the code below to start the quiz. It requires you to sign-in using your Google account.
Ruby Quiz

Ruby - Quiz


Privacy Terms: We do not collect your e-mail address but we record your name with the test results on Google drive. If you take more than 80% we will recognize your skill and will endorse you on Linked-in. If you don't agree, you can use name: Anonymous or a fake name but then we can't endorse your new skills.

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