Ruby 4.0.0 preview2 릴리스
작성자: naruse (2025-11-17)
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.salute더 알아보거나 Ruby를 체험해보고 싶으신가요? Try Ruby
전 세계 프로그래머들이 Ruby를 사랑하는 이유는 무엇일까요? 무엇이 Ruby를 즐겁게 만들까요?
풍부한 gem이 모든 종류의 개발을 지원합니다.
성숙한 도구들이 바로 사용 가능합니다.
Yukihiro "Matz" Matsumoto
Creator of Ruby
쓰기 쉽고, 읽기 쉽습니다.
말하는 것처럼 자연스러운 문법.
David Heinemeier Hansson
Creator of Ruby on Rails
더 적은 코드로 더 많은 것을 하세요.
직관적인 문법이 개발을 가속화합니다.
Dave Thomas
Author of "The Pragmatic Programmer"
전 세계의 개발자들이 서로를 지원합니다.
따뜻하고 활발한 커뮤니티.
Amanda Perino
Executive Director of Rails Foundation
단순히 사용하는 것을 넘어 Ruby에 참여하는 사람들을 Rubyist라고 부릅니다.
Ruby를 사랑하는 Rubyist들은 모두 멋진 #rubyfriends입니다. 커뮤니티 활동이 번창하고 즐겁습니다.
보편적인 모토는 "MINASWAN" — Matz is nice and so we are nice
작성자: naruse (2025-11-17)
작성자: nagachika (2025-10-23)
작성자: matz (2025-10-17)
작성자: k0kubun (2025-10-07)
작성자: hsbt (2025-10-07)
작성자: naitoh (2025-09-18)
작성자: mame (2025-07-08)
작성자: nevans (2025-04-28)
작성자: hsbt (2025-02-26)
작성자: nevans (2025-02-10)