Ruby 3.1.0 Preview 1 Standard Library Doc. Packages Overview

Please select a package from the following list.

abbrev
Calculates the set of unique abbreviations for a given set of strings.
base64
Methods for base64-encoding and -decoding strings.
benchmark
Contains routines for benchmarking code.
bigdecimal
Arbitrary-precision arithmetic.
bundler
Gem tool
cgi
CGI library, including methods for query parsing, HTML generation and session handling.
coverage
Enables coverage measurement
csv
Read and write CSV (comma separated values) data.
date
Implements the Date class.
dbm
Read and write 'db' files.
debug
Debug lib
delegate
Simplifies delegation to methods of other classes.
did_you_mean
Patches error messages to suggest correct spelling of methods/classes/variables
digest
MD5 and SHA1 digest implementations.
drb
Distributed Ruby. Talk to objects across a network.
English
"English-language long names for Ruby's special variables."
erb
"Templating system whereby you embed Ruby code in text/HTML/..."
etc
Access to UNIX users and groups information.
extmk
extmk.
fcntl
Provides constant definitions for IO#fcntl.
fiddle
A libffi wrapper
fileutils
Utility module for copying, moving, renaming files, etc.
find
Recursively descend directories.
forwardable
Method-level delegation.
gdbm
Read and write GNU 'db' files.
getoptlong
A common library for parsing command-line options. See optparse for a stronger Ruby solution.
io/console
Patches IO for simple and portable access to the console
io/nonblock
Allows to work with IO streams in a non-blocking way
io/wait
Adds methods to wait until an IO stream becomes readable or writable
ipaddr
Manipulate IP addresses.
irb
Interactive Ruby (AKA the REPL).
json
JSON
logger
Simple logging mechanism.
matrix
Defines the Matrix and Vector classes.
minitest
minitest
mkmf
Generate Makefiles for Ruby extensions.
monitor
Add monitor function to an arbitrary object.
mutex_m
A mixin that makes any object behave like a mutex
net/ftp
FTP library for accessing remote files.
net/http
HTTP library for accessing web pages.
net/imap
IMAP library for accessing email on a server.
net/pop
POP library for accessing email on a server.
net/protocol
Internal class for the other net-libraries, going to be refactored/removed
net/smtp
SMTP library for sending email.
nkf
nkf
objspace
observer
Implements the observer pattern; objects can be notified of changes to other objects.
open-uri
Allows file-like access to URIs like "ftp://server/filename".
open3
Run external commands and have access to stdin, stdout, and stderr.
openssl
Secure socket layer, including HTTP, FTP, and Telnet implementations.
optparse
A more advanced command-line options parsing library than getoptlong.
ostruct
Open structs. You can add attributes dynamically.
pathname
Object-oriented pathname.
power_assert
Debug tool that displays intermediate results of a method chain
pp
Implements Kernel.pp so you can pretty-print any object.
prettyprint
Implements a pretty-printing algorithm. See 'pp'.
prime
Prime numbers and factorization library.
pstore
Simple object-oriented database using Marshal.
psych
Fast YAML implementation.
pty
Executes commands as if their standard I/O is connected to ttys.
racc
"LALR(1) parser generator for Ruby."
racc/parser
rake
rbs
Released with Ruby 3.0, RBS is a way to declare types in Ruby. The gem allows parsing and processing type definitions written in RBS.
readline
If available, readline-ext will be loaded, or (Ruby-only) reline will be used.
readline
Interface to GNU Readline and NetBSD Editline
reline
Ruby-only implementation of GNU Readline / NetBSD Editline
resolv
Find IP address from hostname, or vice versa, and more.
resolv-replace
"Will replace Socket's DNS with resolv"
rexml
Pure-Ruby XML parser and emitter.
rinda
A Ruby implementation of the Linda distibuted computing paradigm.
ripper
Ruby script parser
rss
RSS (Rich Site Syndicator) parser and emitter.
rubygems
Rubygems
securerandom
securerandom
set
Implements the Set data type.
shellwords
"Manipulates strings a la UNIX Bourne shell"
singleton
Implements the singleton design pattern, whereby a certain class has only one instance.
socket
Implements several socket classes for UDP, TCP, UNIX, SOCKS, as well as a TCPServer class.
stringio
Implements StringIO, which allows IO-like operations on a String-like object.
strscan
A fast string scanner.
syslog
Wrapper for UNIX Syslog system calls.
tempfile
Create and use a temporary file.
test-unit
"Ruby's standard unit testing framework."
time
Extends built-in Time class to support various standard time formats.
timeout
Ensures some code completes within a certain time, or throws exception.
tmpdir
Retrieve temporary directory path.
tracer
Trace program execution.
tsort
Topological sorting for strongly connected components.
typeprof
Released with Ruby 3.0, typeprof allows you to automatically generate RBS type annotations
un
Utility module for file operations in command-line scripts.
uri
Universal Resource Identifier implementation.
weakref
Implements weak references.
win32ole
Interface to Win32 OLE automation.
yaml
Data serialization format designed for ease of human use.
zlib
Interface to UNIX zlib (gzip streams).