Ruby
- Category
- Languages
- Latest
- 4.0.9
- Released
- Oct 22, 2026
- Docs outline
- 17 sections
Official docs outline
ruby-lang.org- Literals
Numbers, strings, symbols, arrays, hashes, ranges, regular expressions and heredocs.
- Assignment and variables
Local, instance, class and global variables, multiple assignment and destructuring.
- Control expressions
if, unless, case, while, until, for, loop controls and flip-flops.
- Methods
Method definition, arguments (default, keyword, splat), return values, visibility and method_missing.
- Calling methods
Receivers, arguments, blocks, safe navigation and message sending.
- Blocks, procs and lambdas
Blocks, yield, Proc and lambda semantics, closures and block arguments.
- Modules and classes
Class and module definitions, inheritance, mixins with include/extend/prepend, singleton classes.
- Exceptions
begin/rescue/ensure/retry, raise, custom exception classes.
- Pattern matching
case/in, deconstruct and deconstruct_keys, guards and find patterns.
- Refinements
Scoped monkey-patching with refine and using.
- Operator precedence
Operator precedence and associativity.
- Enumerable and collections
Enumerable, Enumerator, lazy enumeration, Array and Hash iteration.
- Object model and metaprogramming
Classes as objects, define_method, instance_variable_get, Module hooks and singleton methods.
- Comparable and equality
<=>, ==, eql?, equal? and hash for custom objects.
- Threads, fibers and Ractors
Threads, Mutex, the GVL, Fiber and Fiber scheduler, and Ractor.
- IO and files
File and IO classes, streams and path handling.
- Keywords and standard library
Official language documentation, getting started guides and standard library index.
Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.
Versions and support
6 release lines| Line | Released | Latest | Support |
|---|---|---|---|
| 4.0 | Dec 25, 2025 | 4.0.9 | Until Mar 31, 2029 |
| 3.4 | Dec 24, 2024 | 3.4.12 | Until Mar 31, 2028 |
| 3.3 | Dec 25, 2023 | 3.3.13 | Until Mar 31, 2027 |
| 3.2 | Dec 25, 2022 | 3.2.11 | Ended Mar 31, 2026 |
| 3.1 | Dec 25, 2021 | 3.1.7 | Ended Mar 26, 2025 |
| 3.0 | Dec 25, 2020 | 3.0.7 | Ended Apr 23, 2024 |
Source: endoflife.date