Ruby Documentation

Ruby 4.0.6 practical examples

Find working examples and common pitfalls alongside the API reference. Choose a topic to open its practical notes.

New to Ruby? Browse Ruby tutorials or start with practical Ruby code examples for beginners.

Ruby 4.0.6 API documentation, generated from Ruby’s source code and bundled libraries and hosted by Ruby-Doc.org.

Getting Started

New to Ruby? Start with our Getting Started Guide.

Core Classes and Modules

Explore the essential classes and modules:

Language Reference

Deep dive into Ruby’s syntax and features:

Standard Libraries

There are some standard libraries included in Ruby that are also commonly used, such as:

Use the following links to access the comprehensive set of libraries included with Ruby:

Contribute to Ruby

Get involved with the Ruby community:

Additional Resources