What is Ruby?
Ruby is a dynamic, open-source programming language created by Yukihiro Matsumoto โ better known as Matz โ back in 1995. Matz designed Ruby with one core goal: make programmers happy. The syntax is elegant and readable, almost like writing English. Everything in Ruby is an object, even numbers and strings. Ruby powers Ruby on Rails, the framework behind GitHub, Shopify, Airbnb, and Basecamp. It's great for web development, scripting, and automation. The philosophy is simple: optimize for humans, not machines.
# Ruby's creator, Yukihiro Matsumoto, said:
# "Ruby is designed to make programmers happy."
# And honestly, once you try it, you'll see why.
# Everything is an object in Ruby
42.class # => Integer
"hello".class # => String
[1, 2, 3].class # => Array
# Even true/false and nil are objects
true.class # => TrueClass
nil.class # => NilClass
Try it Yourself ->