Ruby Tutorial
Ruby is an open-source, object-oriented programming server-side scripting language designed and developed in the mid-1990s by Yukihiro Matsumoto (まつもとゆきひろ) from Japan. In the Ruby community, Matsumoto is also known as Matz. Ruby can run on multiple platforms, such as Windows, MAC OS, and various versions of UNIX.
By learning 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.
Knowledge you need before reading this tutorial:
Before you start practicing the various 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 see the online example execution result.
Or in the irb interactive command line mode:
>>puts "Hello, world!" Hello, world! => nilOther extensions