Introduction to Ruby


Ruby is a dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write. It was designed and developed in the mid-1990′s by Yukihiro “Matz” Matsumoto in Japan.

print "What's your first name?"
first_name = gets.chomp

print “What’s your last name?”
last_name = gets.chomp

print “What city are you from?”
city = gets.chomp

print “What state or province are you from?”
state = gets.chomp

puts “Your name is #{first_name} #{last_name} and
you’re from #{city}, #{state}!”

Why Ruby is awesome?

Ruby is a high level language, and it prefers humans i.e. coders more than machines. It supports all major programming paradigm like Object Oriented Programming, Functional Programming, Imperative programming.

From Wikipedia page

The name “Ruby” originated during an online chat session between Matsumoto and Keiju Ishitsuka on February 24, 1993, before any code had been written for the language. Initially two names were proposed: “Coral” and “Ruby”. Matsumoto chose the latter in a later e-mail to Ishitsuka. Matsumoto later noted a factor in choosing the name “Ruby” – it was the birthstone of one of his colleagues.

Resources to fiddle through to learn Ruby

The next thing a programmer can engage him/herself is to learn Ruby on Rails framework , an agile framework, opensource and help productivity to reach altogether another level. You can read more about Ruby on Rails on

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top