Ruby Tutorial
Ruby is an open-source, object-oriented programming, server-side scripting language designed and developed in the mid-1990s by Yukihiro Matsumoto (まつもとゆきひろ) of Japan. In the Ruby community, Matsumoto is also known as Matz. Ruby runs on a variety of platforms, such as Windows, MAC OS, and various versions of UNIX.
After studying this tutorial, you will have a comprehensive understanding of Ruby.
Who is this tutorial for?
This tutorial helps beginners understand the basics and fundamental concepts of the Ruby language.
What you need to know before reading this tutorial:
Before you start practicing the examples provided in this tutorial, it is best to have a basic understanding of computer programs and computer programming languages, which will help you learn this tutorial.
Compile/Execute Ruby Programs
For most programming languages, the first introductory example is "Hello World!". The following example uses Ruby to output "Hello World!":
Examples
Run Example »
Click the "Run Example" button to view the online example output.
Or in the irb interactive command line mode:
>>puts "Hello, world!" Hello, world! => nilOther Extensions