Ruby is an open source, object-oriented programming server-side scripting language designed and developed by Japan's Yukihiro Matsumoto in the mid-1990s. In the Ruby community, Matsumoto is also known as Matz. Ruby runs on a variety of platforms, such as Windows, MAC OS, and UNIX.
Learning this tutorial, you will have a comprehensive understanding of Ruby.
Who is suitable for reading this tutorial?
This tutorial helps beginners understand the basics and basic concepts of the Ruby language.
What you need to know before reading this tutorial:
Before you begin to practice the various examples provided in this tutorial, it's a good idea to have a basic understanding of computer programs and computer programming languages that will help you learn about this tutorial.
Compile/Execute Ruby Programs
For most programming languages, the first entry example is "Hello World!", and the following example uses Ruby to output "Hello World!":
Or in the irb interactive command line mode:
>>puts "Hello, world!" Hello, world! => nil