
index - Documentation for Ruby 4.0
Ruby Documentation Welcome to the official Ruby programming language documentation. Getting Started New to Ruby? Start with our Getting Started Guide. Core Classes and …
Official Ruby FAQ
Ruby is a simple and powerful object-oriented programming language, created by Yukihiro Matsumoto (who goes by the handle “Matz” in this document and on the mailing lists).
class Regexp - Documentation for Ruby 4.0
Identical regexp can or cannot run in linear time depending on your ruby binary. Neither forward nor backward compatibility is guaranteed about the return value of this method.
Ruby 3.3.9 Released - Ruby Programming Language
Jul 24, 2025 · Ruby 3.3.9 has been released. This release includes the following security fix of default gems: CVE-2025-24294: Possible Denial of Service in resolv gem and the following …
control_expressions - Documentation for Ruby 3.4
Ruby’s grammar differentiates between statements and expressions. All expressions are statements (an expression is a type of statement), but not all statements are expressions.
Ruby 3.4.4 Released - Ruby Programming Language
May 14, 2025 · We intend to release the latest stable Ruby version (currently Ruby 3.4) every two months following the most recent release. Following this release (3.4.4), Ruby 3.4.5 is …
Ruby 3.2.0 Released - Ruby Programming Language
Dec 25, 2022 · Ruby was first developed by Matz (Yukihiro Matsumoto) in 1993, and is now developed as Open Source. It runs on multiple platforms and is used all over the world …
class String - Documentation for Ruby 4.0
In the simplest case, the dumped string contains the original string, enclosed in double-quotes; this example is done in irb (interactive Ruby), which uses method ‘inspect` to render the results:
class Hash - Documentation for Ruby 4.0
person = {name: 'Matz', language: 'Ruby'} person # => {name: "Matz", language: "Ruby"} You can use a hash to give names to method arguments:
NEWS - Documentation for Ruby 3.4
The string returned by Symbol#to_s now emits a deprecation warning when mutated, and will be frozen in a future version of Ruby. These warnings can be enabled with -W:deprecated or by …