Ruby - Tutorial
Ruby is a high-level and general-purpose programming language created by Yukihiro "Matz" Matsumoto in Japan starting in the mid-1990s. It runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX. It is a dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write.
This tutorial is intended for students and professionals interested in studying basic and advanced concepts of Ruby. This tutorial covers all topics of Ruby which includes data types, operators, arrays, strings, control statements, classes, object-oriented programming, exception handling & File IO. We believe in learning by examples therefore each and every topic is explained with lots of examples that makes you learn Ruby in a very easy way. Along with this, almost all examples can be executed online which provides better understanding of the language and helps you to learn the language faster. The classical "Hello World" example is mentioned below for the illustration purpose:
# Hello World Example puts "Hello World!"
The output of the above code will be:
Before continuing with this tutorial, you should have basic understanding of any programming language.