ruby/doc/index.md
Stan Lo 5d1fde06d4
[DOC] Refresh standard libraries page (#12404)
* Migrate standard library doc page to markdown

* Improve libraries listing and link to source code

* Fix grammar and improve phrasing

Co-authored-by: Jeremy Evans <code@jeremyevans.net>
2024-12-20 10:57:02 -08:00

2.4 KiB

Ruby Documentation

Welcome to the official Ruby programming language documentation.

Getting Started

New to Ruby? Start with our Getting Started Guide.

Core Classes and Modules

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.

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:

  • 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:

Contribute to Ruby

Get involved with the Ruby community:

Additional Resources