
Ruby Programming Language
Ruby is... A dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write. Download Ruby …
Ruby Documentation
In the Playground you can try any Ruby code you like. The Official Ruby documentation is included.
index - Documentation for Ruby 3.4
Ruby Documentation Welcome to the official Ruby programming language documentation. Getting Started New to Ruby? Start with our Getting Started Guide. Core Classes and …
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.
operators - Documentation for Ruby 4.0
Operators In Ruby, operators such as +, are defined as methods on the class. Literals define their methods within the lower level, C language. String class, for example. Ruby objects can define …
Ruby 3.5.0 preview1 Released
Apr 18, 2025 · 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 …
exceptions - Documentation for Ruby 4.0
Ruby code can raise exceptions. Most often, a raised exception is meant to alert the running program that an unusual (i.e., exceptional) situation has arisen, and may need to be handled.
strftime_formatting - Documentation for Ruby 4.0
Formats for Dates and Times Several Ruby time-related classes have instance method strftime, which returns a formatted string representing all or part of a date or time: Date#strftime. …
standard_library - Documentation for Ruby 4.0
The Ruby Standard Library is a large collection of classes and modules you can require in your code to gain additional features. Below is an overview of the libraries and extensions, followed …
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: def some_method (hash) p hash end …