Redesign our Site Identity
Posted by Hiroshi SHIBATA on 22 Dec 2025
A Programmer's Best Friend
# Output "I love Ruby"
say = "I love Ruby"
puts say
# Output "I *LOVE* RUBY"
say = say.sub("love", "*love*")
puts say.upcase
# Output "I *love* Ruby"
# five times
5.times { puts say }# Ruby knows what you
# mean, even if you
# want to do math on
# an entire Array
cities = %w[ London
Oslo
Paris
Amsterdam
Berlin ]
visited = %w[Berlin Oslo]
puts "I still need " +
"to visit the " +
"following cities:",
cities - visited# The Greeter class
class Greeter
def initialize(name)
@name = name.capitalize
end
def salute
puts "Hello #{@name}!"
end
end
# Create a new object
g = Greeter.new("world")
# Output "Hello World!"
g.saluteWant to learn more or try Ruby? Try Ruby
Why do programmers around the world love Ruby? What makes it fun?
Rich gems support all kinds of development.
Mature tooling ready to use.
Yukihiro "Matz" Matsumoto
Creator of Ruby
Easy to write, easy to read.
Natural syntax like spoken language.
David Heinemeier Hansson
Creator of Ruby on Rails
Do more with less code.
Intuitive syntax accelerates development.
Dave Thomas
Author of "The Pragmatic Programmer"
Developers worldwide support each other.
A warm, active community.
Amanda Perino
Executive Director of Rails Foundation
People who engage with Ruby beyond being just users are called Rubyists.
Rubyists who love Ruby are all nice #rubyfriends. Community activities are thriving and fun.
The universal motto is "MINASWAN" — Matz is nice and so we are nice
Posted by Hiroshi SHIBATA on 22 Dec 2025
Posted by naruse on 18 Dec 2025
Posted by k0kubun on 17 Dec 2025
Posted by naruse on 17 Nov 2025
Posted by hsbt on 7 Oct 2025
Posted by naitoh on 18 Sep 2025
Posted by mame on 8 Jul 2025
Posted by nevans on 28 Apr 2025
Posted by hsbt on 26 Feb 2025
Posted by nevans on 10 Feb 2025