Welcome to the official Ruby programming language documentation.
New to Ruby? Start with our Getting Started Guide.
Explore the essential classes and modules:
String - Text manipulation and string utilities.
Symbol - Named identifiers inside the Ruby interpreter.
Array - Ordered collections of objects.
Hash - Key-value pairs for efficient data retrieval.
Integer - Integer number class.
Float - Floating-point number class.
Enumerable - Collection traversal and searching.
File - File operations and handling.
IO - Input/output functionality.
Time - Time representation.
Regexp - Regular expressions for pattern matching.
Range - Representing a range of values.
Exception - Base class for all exceptions.
Thread - Multithreading and concurrency.
Deep dive into Ruby’s syntax and features:
Ruby Syntax
Exceptions
There are some standard libraries included in Ruby that are also commonly used, such as:
Date - Date representation.
JSON - JSON encoding and decoding.
ERB - Embedded Ruby for templating.
Net::HTTP - HTTP client library.
Use the following links to access the comprehensive set of libraries included with Ruby:
Standard Library Documentation
Maintainers
Get involved with the Ruby community:
Contribution Guide
Documentation Guide
Reporting Issues
Building Ruby
Testing Ruby
Ruby Core © 1993–2025 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.