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

A loosely Knitted Puppet, who like to wander around to find answers to questions. A wannabe scientist, developer and a writer(not even close to any of them). Is a nerd in his own way,like to study and is a mix of both worlds of introvert and extrovert. Love being kissed and hugged. My personal blog at