2. AGENDA
History of Ruby
Main philosophy and tricks
How Ruby can help you in QA, DevOps,
Development
Ruby in numbers
Q&A
3. HISTORY
Creator, Yukihiro “Matz” Matsumoto,
blended parts of his favourite languages
(Perl, Smalltalk, Eiffel, Ada, and Lisp)
”Ruby is simple in appearance, but
is very complex inside, just like our
human body”
4. THE NAME "RUBY"
• The name "Ruby" originated during an online chat session between
Matsumoto and Keiju Ishitsuka on February 24, 1993. Initially two
names were proposed: "Coral" and "Ruby". Matsumoto later noted a
factor in choosing the name "Ruby" – it was the birthstone of one of
his colleagues.
FIRST PUBLICATION
• The first public release of Ruby 0.95 was announced on Japanese
domestic newsgroups on December 21, 1995. Subsequently, three
more versions of Ruby were released in two days. The release
coincided with the launch of the Japanese-language ruby-list mailing
list, which was the first mailing list for the new language.
5. VERSION LIST
Following the release of Ruby 0.95 in 1995, several stable versions of Ruby were released in the following years:
• Ruby 1.0: December 25, 1996
• In 1997, the first article about Ruby was published on the Web. In the same year, Matsumoto was hired by
netlab.jp to work on Ruby as a full-time developer.
• In 1998, the Ruby Application Archive was launched by Matsumoto, along with a simple English-language
homepage for Ruby.
• In 1999, the first English language mailing list ruby-talk began, which signaled a growing interest in the language
outside Japan. In this same year, Matsumoto and Keiju Ishitsuka wrote the first book on Ruby, The Object-oriented
Scripting Language Ruby
• Ruby 1.6: September 2000
• Ruby 1.8 was initially released August 2003
• Ruby 1.9 was released on Christmas Day in 2007
• Ruby 2.0 As of the official 2.0.0 release on February 24, 2013. It has been obsolete since February 22, 2016, and it
will no longer receive bug and security fixes.
• Ruby 2.1.0 was released on Christmas Day in 2013
• Ruby 2.2.0 was released on Christmas Day in 2014
• Ruby 2.3.0 was released on Christmas Day in 2015
• Ruby 2.4.0 was released on Christmas Day in 2016.
• Ruby 2.5.0 was released on Christmas Day in 2017
• Ruby 2.6.0 was released on Christmas Day in 2018
• Ruby 2.7.0 was released on Christmas Day in 2019
7. PHILOSPHY
The principles of Ruby device and programming on it are
sometimes highlighted in the term “Ruby Way”.
• Language is for man, not computer.
• Simple but not too simple.
• Principle of least astonishment (POLA), meaning that the
language should behave in such a way as to minimize confusion
for experienced users.
irb(main):001:0> "alphabet".upcase.concat("Soup")
=> "ALPHABETSoup"
8. PHILOSPHY
• Principle of flexibility: There are multiple ways to accomplish
the same thing, and even built-in commands can be changed.
# Version 1:
if 3>4
puts "the condition is true"
else
puts "the condition is false"
End
# Version 2:
puts 3>4 ? 'the condition is true' : 'the condition is false'
9. Here’s an Hello World code spinet in Ruby,
Python and Java.
• Ruby:
puts "Hello World"
• Python:
print("Hello World")
• Java:
public class Main {
public static void main(String[] args {
System.out.println("Hello World");
}
}
COMPARISON
OF
HELLO WORLD