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.

Audience

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

Prerequisites

Before you start practicing with various types of examples given in this tutorial, we are making an assumption that you are already aware of computer programs and programming languages in general.

Execute Ruby Online

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

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

#!/usr/bin/ruby -w

puts "Hello, Ruby!";


Advertisements