Ruby 3.4 adds it block parameter reference, changes prism as default parser. This page lists individual ruby releases For information about the current maintenance status of the various ruby branches see the Ruby releases by version number this is a list of ruby releases The shown dates correspond to the publication dates of the english versions of release posts and may differ from the actual creation dates of the source tarballs. Exceptions 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 Code throughout the ruby core, ruby standard library, and ruby gems generates exceptions in certain circumstances Open ('nope.txt') # raises errno::enoent No such file or directory raised. Here you can get the latest ruby distributions in your favorite flavor The current stable version is 3.4.7
Class regexp a regular expression (also called a regexp) is a match pattern (also simply called a pattern) A common notation for a regexp uses enclosing slash characters /foo/ a regexp may be applied to a target string The part of the string (if any) that matches the pattern is called a match, and may be said to match ('redirect') # => true # match at beginning of. You may already have ruby installed on your computer
Release comment many committers, developers, and users who provided bug reports helped us make this release Ruby standard library 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 by a brief description of each A module used to generate a makefile for c extensions rbconfig Information about your ruby configuration and build gem Ruby documentation welcome to the official ruby programming language documentation
Start with our getting started guide Core classes and modules explore the essential classes and modules
OPEN